Static GitHub Issues

[2738] Inconsistent scrollToTop behaviour after update to 1.3.0

prev: SyntaxError: Unexpected token import
next: router.push() is not working in latest nuxt release

Certain pages that were (correctly) jumping to the top of the page after the route changed in 1.1.2 have stopped doing so in the latest release.

Steps to reproduce

  1. scroll down this page: http://btmat-nuxt.herokuapp.com/2012
  2. click on an article excerpt link
  3. see the article render half way down the page

Here's the repo

Both the from page and the to page include scrollToTop: true.

<!--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/c2378">#c2378</a>)</em></sub></div>