fix(ui): modal popover handle close

This commit is contained in:
Vyacheslav Scherbinin
2025-08-18 23:27:49 +07:00
parent 58b78e1ee3
commit b4d5935875

View File

@@ -123,7 +123,7 @@ const DialogContent = React.forwardRef<
<DialogPortal>
{/* Custom overlay for modal=false - no click handler to avoid Command conflicts */}
<div
className="fixed inset-0 z-50 bg-black/80 pointer-events-auto data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"
className="fixed inset-0 z-50 bg-black/80 pointer-events-all data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"
onClick={handleInteractOutside}
/>
<DialogPrimitive.Content