Attempt to fix menu confirm not opening
This commit is contained in:
parent
1f0d2eebe6
commit
7286a4e03b
|
@ -902,8 +902,9 @@ function Status({
|
|||
// Higher than the backdrop
|
||||
zIndex: 1001,
|
||||
},
|
||||
onClick: () => {
|
||||
menuInstanceRef.current?.closeMenu?.();
|
||||
onClick: (e) => {
|
||||
if (e.target === e.currentTarget)
|
||||
menuInstanceRef.current?.closeMenu?.();
|
||||
},
|
||||
}}
|
||||
align="end"
|
||||
|
|
Loading…
Reference in a new issue