mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
[MM-62961]: Fixed pointer event of submenu
This commit is contained in:
parent
da7192246e
commit
3cc710e7aa
@ -12,6 +12,7 @@
|
|||||||
box-shadow: var(--elevation-4), 0 0 0 1px rgba(var(--center-channel-color-rgb), 0.12) inset;
|
box-shadow: var(--elevation-4), 0 0 0 1px rgba(var(--center-channel-color-rgb), 0.12) inset;
|
||||||
}
|
}
|
||||||
&.AsSubMenu {
|
&.AsSubMenu {
|
||||||
|
pointer-events: none;
|
||||||
& .MuiPaper-root {
|
& .MuiPaper-root {
|
||||||
box-shadow: var(--elevation-5), 0 0 0 1px rgba(var(--center-channel-color-rgb), 0.12) inset;
|
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}
|
autoFocusItem={isSubMenuOpen}
|
||||||
sx={{
|
sx={{
|
||||||
py: 0,
|
py: 0,
|
||||||
|
pointerEvents: 'auto',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
|
Loading…
Reference in New Issue
Block a user