diff --git a/packages/react/components/Drawer.tsx b/packages/react/components/Drawer.tsx index 3d12ba1..852f6c7 100644 --- a/packages/react/components/Drawer.tsx +++ b/packages/react/components/Drawer.tsx @@ -304,9 +304,11 @@ const DrawerContent = forwardRef( }} onMouseDown={onMouseDown} onMouseLeave={() => + dragState.isDragging && setState((prev) => ({ ...prev, leaveWhileDragging: true })) } onMouseEnter={() => + dragState.isDragging && setState((prev) => ({ ...prev, leaveWhileDragging: false })) } />