Archived topic
Sidebar menu jumps around on desktop
3 replies · Started by Greg on March 15, 2021
When Navigation Location is set to Left Sidebar and Mobile Header is On with Sticky On, the sidebar menu becomes fixed on scroll after the window resizes by any amount. This can be undone with custom code, but it's definitely a bug.
Screen recording shows correct scroll behavior on load, then the bug when the window resizes; correct behavior again after refresh, and the bug again.
https://www.dropbox.com/s/haf0nf87eavuss1/GP%20bug.mov?dl=0
Hi there,
can you share a link to the site where i can see this issue ? I am having trouble replicating this on my test site.
This can be seen on https://www.drtarpay.com/
Just disable these rules I added to work around the bug:
@media (min-width: 769px) {
.gen-sidebar-nav.is_stuck {
display: none !important;
position: static !important;
}
.gen-sidebar-nav.is_stuck.stuckElement {
display: block !important;
width: auto !important;
}
}
Thanks for letting us know about this! Should be fixed in 2.0.0-alpha.6: https://generatepress.com/introducing-the-gp-theme-builder/