-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Simplify html selector in nav burger menu. #32303
Conversation
Size Change: -1 B (0%) Total Size: 1.03 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some followups on submenu improvements, but I'd like to land #31878 first as that on its own changes the specificity of some of the margin rules. In this case, the overlay menu is so new I suspect many themes haven't had a chance to touch it. Part of it, as is the case so many times, is trying to find the delicate balance between having low specificity so themes can easily do what they please, and high specificity in order to make new features behave as envisioned. I'll definitely keep on this, though! Thank you for the fast review! |
Description
Followup to #32269 (comment), this is a tiny PR that just improves the JS of the navigation block frontend burger menu.
How has this been tested?
Insert enough content on your page to scroll. Insert a navigation block, enable responsive, then publish and scale the window down below 600px so the menu appears. Open the menu and scroll — the content underneath should not scroll.
Same behavior as current trunk, in other words, just a code improvement.
Checklist:
*.native.js
files for terms that need renaming or removal).