- Issue created by @dahousecat
On the site I'm working on the nav turns into a burger menu at 1000px.
When the viewport is wider than this everything works great.
When the viewport is narrower than this stickynav just causes the page to jump around.
Setup sticky nav so the Selector is for an element that is hidden at a certain breakpoint.
View the behavior after the element is hidden.
My first thought was just checking if the target element was visible.
But the target element may still be visible at smaller breakpoints, just styled as a burger instead of a full menu.
So instead I think the config screen needs a minimum and maximum width fields.
Write the patch
Add minimum and maximum width fields to StickynavSettingsForm.
None
None
Active
1.4
Code