-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
discussionThis problem still needs more feedbackThis problem still needs more feedbackenhancementNew feature or requestNew feature or request
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
Metadata
Assignees
Labels
discussionThis problem still needs more feedbackThis problem still needs more feedbackenhancementNew feature or requestNew feature or request
Type
Projects
Status
💬 In discussion