fix: move transition duration of DrawerContent wrapper to outside

This commit is contained in:
p-sw 2024-07-04 18:17:26 +09:00
parent 9573fd1e1a
commit 0e73321c3a

View File

@ -309,7 +309,7 @@ const DrawerContent = forwardRef<HTMLDivElement, DrawerContentProps>(
...variantProps,
opened: true,
className: dragState.isDragging
? "transition-[width_0ms]"
? "transition-[width] duration-0"
: variantProps.className,
})}
style={