Skip to content

Commit

Permalink
fix(Drawer): fix show/hide animation
Browse files Browse the repository at this point in the history
  • Loading branch information
wlliaml committed Jan 23, 2024
1 parent 266d3cc commit 30d107d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Drawer/BaseDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const BaseDrawer = ({
onClose,
direction,
children,
duration,
duration = 200,
zIndex = 100,
enableOverlay,
className,
Expand Down
2 changes: 1 addition & 1 deletion src/components/Drawer/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
background: white;
box-shadow: -8px 0 56px 0 rgb(0 0 0 / 8%) !important;
backdrop-filter: blur(12px);
transition: all;
will-change: transform, visibility;
}
}

Expand Down

0 comments on commit 30d107d

Please sign in to comment.