Skip to content

Commit 865a56a

Browse files
authored
fix: prevent body scrolling when user scrolls side menu (#1300)
1 parent 2ede22c commit 865a56a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/common-elements/perfect-scrollbar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export function PerfectScrollbarWrap(
8080
<div
8181
style={{
8282
overflow: 'auto',
83+
overscrollBehavior: 'contain',
8384
msOverflowStyle: '-ms-autohiding-scrollbar',
8485
}}
8586
>

0 commit comments

Comments
 (0)