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

Option to stop body from scrolling when main menu is open #41

Open
cr0ybot opened this issue Jul 28, 2022 · 0 comments
Open

Option to stop body from scrolling when main menu is open #41

cr0ybot opened this issue Jul 28, 2022 · 0 comments
Assignees

Comments

@cr0ybot
Copy link
Member

cr0ybot commented Jul 28, 2022

When the main menu is in modal form, the body of the site should ideally not scroll underneath. We should build an option into the toggle-expanded module to handle that.

Should be as simple as adding an inline overflow: hidden on the body element when the target is expanded.

@cr0ybot cr0ybot self-assigned this Jul 28, 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

No branches or pull requests

1 participant