Skip to content

Commit

Permalink
fix: move transition duration of DrawerContent wrapper to outside
Browse files Browse the repository at this point in the history
  • Loading branch information
p-sw committed Jul 4, 2024
1 parent 9573fd1 commit 0e73321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/components/Drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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={
Expand Down

0 comments on commit 0e73321

Please sign in to comment.