Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent body scrolling when user scrolls side menu #1300

Merged
merged 1 commit into from
Jun 23, 2020
Merged

Prevent body scrolling when user scrolls side menu #1300

merged 1 commit into from
Jun 23, 2020

Conversation

flaksp
Copy link
Contributor

@flaksp flaksp commented Jun 12, 2020

Added overscroll-behavior: contain to side menu when native scrollbars used. It will prevent body scrolling when user scrolls over menu using mouse wheel or trackpad.

Copy link
Member

@RomanHotsiy RomanHotsiy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@RomanHotsiy RomanHotsiy merged commit 865a56a into Redocly:master Jun 23, 2020
@RomanHotsiy
Copy link
Member

Thanks!

barborakahoun added a commit to Kontent-ai-Learn/kontent-ai-learn-redoc that referenced this pull request Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants