feat: clickable modal header

This commit is contained in:
DIYgod 2024-07-29 13:41:49 +08:00
parent d11cc27985
commit ad97c3b784
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -215,7 +215,7 @@ export const ModalInternal: Component<{
<div
ref={edgeElementRef}
className={cn(
"fixed inset-0 z-20 overflow-auto",
"no-drag-region fixed inset-0 z-20 overflow-auto",
currentIsClosing ? "!pointer-events-none" : "!pointer-events-auto",
modalContainerClassName,
)}