from #1262
2.1.2 / 2.1.1
Clicking on Home, then on post1 will not scroll down because of the transition
We should at least provide a way of doing it userland in the docs. Ideally, scrollbehaviour should trigger once the new view is inserted into the dom
Would supporting a returned promise here be enough to support most cases where there is a transition etc?
I've had a go at this, check out this commit.
It could be improved, if there were away to obtain the transition duration from the route object for example.
Would love to get some thoughts/input @posva @Atinux @pi0 @yyx990803
I forgot to add this can be handled with https://github.com/posva/vue-router-view-transition
Most helpful comment
I've had a go at this, check out this commit.
It could be improved, if there were away to obtain the transition duration from the route object for example.
Would love to get some thoughts/input @posva @Atinux @pi0 @yyx990803