mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-25 09:18:51 +01:00
Attempt to fix menu confirm not opening
This commit is contained in:
parent
1f0d2eebe6
commit
7286a4e03b
1 changed files with 3 additions and 2 deletions
|
@ -902,7 +902,8 @@ function Status({
|
||||||
// Higher than the backdrop
|
// Higher than the backdrop
|
||||||
zIndex: 1001,
|
zIndex: 1001,
|
||||||
},
|
},
|
||||||
onClick: () => {
|
onClick: (e) => {
|
||||||
|
if (e.target === e.currentTarget)
|
||||||
menuInstanceRef.current?.closeMenu?.();
|
menuInstanceRef.current?.closeMenu?.();
|
||||||
},
|
},
|
||||||
}}
|
}}
|
||||||
|
|
Loading…
Reference in a new issue