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

[gatsby-theme-intranet] Scroll position is not reset on navigation #10

Open
jeanfredrik opened this issue May 30, 2021 · 0 comments
Open
Labels
bug Something isn't working
Milestone

Comments

@jeanfredrik
Copy link
Member

This is probably caused by the fact that overflow: scroll is set on an element outside of the page template, which means that it’s not re-rendered on navigation. If that’s true, move parts of the layout into the template or move overflow: scroll.

@jeanfredrik jeanfredrik added the bug Something isn't working label May 30, 2021
@jeanfredrik jeanfredrik added this to the Version 1.0 milestone May 30, 2021
@jeanfredrik jeanfredrik changed the title Scroll position is not reset on navigation [gatsby-theme-intranet] Scroll position is not reset on navigation Aug 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant