diff --git a/packages/zarm/src/popup/Popup.tsx b/packages/zarm/src/popup/Popup.tsx index 067b946d5..f06969323 100644 --- a/packages/zarm/src/popup/Popup.tsx +++ b/packages/zarm/src/popup/Popup.tsx @@ -55,6 +55,7 @@ const Popup = React.forwardRef((props, ref) => { }, []); const handleClick = (event: React.MouseEvent) => { + event.stopPropagation(); if (nodeRef.current !== event.target && nodeRef.current.contains(event.target as HTMLElement)) { return; }