fix: prevent body scrolling when user scrolls side menu (#1300)

This commit is contained in:
Petr Flaks 2020-06-23 11:53:00 +03:00 committed by GitHub
parent 2ede22c45c
commit 865a56a2a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,6 +80,7 @@ export function PerfectScrollbarWrap(
<div <div
style={{ style={{
overflow: 'auto', overflow: 'auto',
overscrollBehavior: 'contain',
msOverflowStyle: '-ms-autohiding-scrollbar', msOverflowStyle: '-ms-autohiding-scrollbar',
}} }}
> >