diff --git a/web/src/pages/FileExplorerPage/components/ContextMenu.tsx b/web/src/pages/FileExplorerPage/components/ContextMenu.tsx index 67bdf65..26b3a96 100644 --- a/web/src/pages/FileExplorerPage/components/ContextMenu.tsx +++ b/web/src/pages/FileExplorerPage/components/ContextMenu.tsx @@ -255,17 +255,20 @@ export const ContextMenu: React.FC = (props) => { height="auto" styles={{ body: { padding: 8 } }} > - { - const handler = handlerMap.get(String(key)); - if (!handler) return; - handler(); - onClose(); - }} - style={{ borderRadius: token.borderRadius, background: 'transparent', border: 'none' }} - /> +
e.stopPropagation()}> + { + const handler = handlerMap.get(String(key)); + if (!handler) return; + handler(); + onClose(); + }} + style={{ borderRadius: token.borderRadius, background: 'transparent', border: 'none' }} + /> +
); }