fix: 🐛
This commit is contained in:
@@ -45,8 +45,11 @@ const DropdownMenu = ({
|
|||||||
createPortal(
|
createPortal(
|
||||||
<div
|
<div
|
||||||
ref={backdropRef}
|
ref={backdropRef}
|
||||||
className="fixed inset-0 z-50"
|
className="fixed inset-0 z-50 pointer-events-auto"
|
||||||
onClick={() => handleOpenChange(false)}
|
onClick={(e) => {
|
||||||
|
e.stopPropagation()
|
||||||
|
handleOpenChange(false)
|
||||||
|
}}
|
||||||
/>,
|
/>,
|
||||||
document.body
|
document.body
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user