forked from nuxt/nuxt
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improved default router.options scrollBehaviour
handle first page load and page refresh scenarios (restore scroll position without jumps), fixes hash-navigation when changing pages and browser back/forward positions, especiall when page transitions are involved. fixes nuxt#24941, nuxt#22487, nuxt#25030 and nuxt#19664 Signed-off-by: Bernhard Berger <bernhard.berger@gmail.com>
- Loading branch information
1 parent
6736dec
commit a3658ee
Showing
1 changed file
with
58 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters