Skip to content

Commit

Permalink
fix: remove drawer mask not lock scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
andybuibui authored Jun 19, 2024
1 parent a935bc9 commit 391437f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const Drawer: React.FC<DrawerProps> = props => {
open={mergedOpen || forceRender || animatedVisible}
autoDestroy={false}
getContainer={getContainer}
autoLock={mask && (mergedOpen || animatedVisible)}
autoLock={mergedOpen || animatedVisible}
>
<DrawerPopup {...drawerPopupProps} />
</Portal>
Expand Down

0 comments on commit 391437f

Please sign in to comment.