mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-07 21:54:53 +03:00
Prevent body scrolling when user scrolls side menu
This commit is contained in:
parent
2ede22c45c
commit
b564eb1193
|
@ -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