mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 18:14:07 +03:00
fix: prevent body scrolling when user scrolls side menu (#1300)
This commit is contained in:
parent
2ede22c45c
commit
865a56a2a9
|
@ -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',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user