mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-20 15:23:44 +02:00
Fix event propagation down the chain
This commit is contained in:
@@ -114,7 +114,7 @@ export default ({ uuid }: { uuid: string }) => {
|
||||
<CSSTransition timeout={250} in={menuVisible} unmountOnExit={true} classNames={'fade'}>
|
||||
<div
|
||||
ref={menu}
|
||||
onClick={() => setMenuVisible(false)}
|
||||
onClick={e => { e.stopPropagation(); setMenuVisible(false); }}
|
||||
className={'absolute bg-white p-2 rounded border border-neutral-700 shadow-lg text-neutral-500 min-w-48'}
|
||||
>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user