Navigation links scroll to top before transitioning to next page.
rafaelderolez opened this issue · 3 comments
rafaelderolez commented
Steps to reproduce
- Scroll down on the homepage of my Gatsby-universal CodeSandbox example
- Click a navigation link
Expected result
Page transitions to next page.
Actual result
Page scrolls to top before transitioning to the next page.
ryanwiemer commented
In case you haven't already resolved this on your own I encountered a similar issue and a solution was proposed here:
rafaelderolez commented
@ryanwiemer I ended up not needing page transitions on the project I used this on but that solution looks promising, thanks!
fabe commented
Hey! Thanks for opening this.
Yes, that seems like a Gatsby-core issue. Closing 🙂