-
Notifications
You must be signed in to change notification settings - Fork 25.4k
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
Strange behaviour of header after scrolling down and up #2551
Comments
I think this is due to the JavaScript that determines if the nav links in the header “will fit” or not and then hides the ones it “thinks” won’t. You’ll see this on the demo site. On load a few links overflow/bump it the site title and the properly disappear once the script executes. In your case the text is short enough it doesn’t appear to overflow, but it is a few pixels over where it hits your site title. By the time you scroll down it’s hidden the overflowing link and put it behind the hamburger menu toggle. |
Related: lukejacksonn/GreedyNav#18 Seems to only happen in mobile. |
I updated to the latest version of GreedyNav.js, doesn't seem as pronounced on the demo site. There will be a few seconds where the nav elements will appear/disappear due to how JavaScript loads. |
Environment
Expected behavior
Categories section in header must not be hidden after scrolling
Steps to reproduce the behavior
I installed the theme, then just change the title MM to Hax4Us
Here is first load of website
Then after scrolling up & down 3-4 times
Other
The text was updated successfully, but these errors were encountered: