-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
Description
Version
2.5.2
Reproduction link
http://jsfiddle.net/xctnu8r3/2/
Steps to reproduce
Wrapping a router-view
in a 2-way transition (like a fade), and scrollBehavior
returns { x: 0, y: 0 }
.
Click Post 1, scroll down just a little, then click Home.
What is expected?
Scrolling shouldn't take place until after the in-out transition has completed.
What is actually happening?
The router-view
scrolls to the top immediately, before the transition begins, resulting in an undesirable content flicker (which looks much worse in a real scenario with actual content).
liborvanek, atinux, jsonberry and lynnntropy