Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 519a289

Browse files
committed
Fixed: closing modal sometimes closed popover.
1 parent 4b77b44 commit 519a289

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/Modal/index.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ const Modal = ({
3333
>
3434
<div
3535
className={styles.wrapper}
36+
onMouseDown={stopImmediatePropagation}
37+
onMouseUp={stopImmediatePropagation}
3638
onClick={stopImmediatePropagation}
3739
role="button"
3840
tabIndex={0}

0 commit comments

Comments
 (0)