mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-29 04:38:55 +03:00
Fix submenu not opening
This commit is contained in:
parent
b8ec7d3c51
commit
d86023facd
1 changed files with 4 additions and 2 deletions
|
@ -536,8 +536,10 @@ function RelatedActions({ info, instance, authenticated }) {
|
||||||
// Higher than the backdrop
|
// Higher than the backdrop
|
||||||
zIndex: 1001,
|
zIndex: 1001,
|
||||||
},
|
},
|
||||||
onClick: () => {
|
onClick: (e) => {
|
||||||
menuInstanceRef.current?.closeMenu?.();
|
if (e.target === e.currentTarget) {
|
||||||
|
menuInstanceRef.current?.closeMenu?.();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
align="center"
|
align="center"
|
||||||
|
|
Loading…
Reference in a new issue