Open
Description
Controlling what scroll position is saved
RFC at vuejs/rfcs#38 is not flexible enough: what about named views, what about scrolling multiple elements in the page.
A better option could be customising the computation of the scrollPosition saved in the history state as well as the restoration of that given scrollPosition. This would be a replacement for current scrollBehavior
option and maybe we could internally refactor ours to do that
Another possibility is to move this to an official plugin similar to https://github.com/antfu/vue-router-better-scroller
Metadata
Assignees
Type
Projects
Status
💬 In discussion
Activity