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

Fix sticky header jumpiness #45

Merged
merged 1 commit into from
May 29, 2017
Merged

Fix sticky header jumpiness #45

merged 1 commit into from
May 29, 2017

Conversation

lfalin
Copy link
Contributor

@lfalin lfalin commented May 26, 2017

When the top bar reaches the top, the heading jumps as the original top-bar is removed from the DOM. (Scroll this page: https://matcornic.github.io/hugo-learn-doc/basics/installation/ for an example).

This is due to a a slight nuance of how Sticky-Kit works. To prevent this, I have updated the HTML and JS related to the top bar as suggested here: https://github.com/leafo/sticky-kit/wiki/Troubleshooting#my-adsiframeplugin-based-content-flashes-or-get-removed-when-it-becomes-sticky

@matcornic
Copy link
Owner

Great, thanks !

@matcornic matcornic merged commit bf4cf2e into matcornic:master May 29, 2017
@matcornic matcornic added the bug label May 29, 2017
@lfalin lfalin deleted the fix-sticky-header branch May 29, 2017 17:36
@matcornic matcornic mentioned this pull request Jun 8, 2017
gr1m0h pushed a commit to gr1m0h/hugo-theme-learn that referenced this pull request Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants