Static GitHub Issues

[2593] screen jumps to top before page change

prev: How to push node setup to webpack config?
next: Excluding .test.js files from build

Issue

scrollToTop fires before page change

To Reproduce

Create 2 pages, A and B, linking B to a with a nuxt-link. Make sure A is long enough to be able to scroll down. When you scroll down on page A and click on the nuxt-link to go to page B, then page A will first scroll to the top before transitioning to page B.

I am using Chrome Version 63.0.3239.132

My issue seems to be the same as #1036 but it was closed?? Any update on this?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2257">#c2257</a>)</em></sub></div>