[MM-62961] Fixed pointer event of submenus (#30219)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
8b164711a4
Коммит
4750df98c2
@@ -12,6 +12,7 @@
|
||||
box-shadow: var(--elevation-4), 0 0 0 1px rgba(var(--center-channel-color-rgb), 0.12) inset;
|
||||
}
|
||||
&.AsSubMenu {
|
||||
pointer-events: none;
|
||||
& .MuiPaper-root {
|
||||
box-shadow: var(--elevation-5), 0 0 0 1px rgba(var(--center-channel-color-rgb), 0.12) inset;
|
||||
}
|
||||
|
||||
@@ -189,6 +189,7 @@ export function SubMenu(props: Props) {
|
||||
autoFocusItem={isSubMenuOpen}
|
||||
sx={{
|
||||
py: 0,
|
||||
pointerEvents: 'auto',
|
||||
}}
|
||||
>
|
||||
{children}
|
||||
|
||||
Ссылка в новой задаче
Block a user