Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
fix: prevent body scrolling when user scrolls side menu (Redocly#1300)
Browse files Browse the repository at this point in the history
  • Loading branch information
flaksp authored Jun 23, 2020
1 parent 2ede22c commit 865a56a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common-elements/perfect-scrollbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export function PerfectScrollbarWrap(
<div
style={{
overflow: 'auto',
overscrollBehavior: 'contain',
msOverflowStyle: '-ms-autohiding-scrollbar',
}}
>
Expand Down

0 comments on commit 865a56a

Please sign in to comment.