You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to use scrollBehaviour to handle page navigation's scrollTop, but it did't work.
And also I found that vue-router set scrollTop by using window. scrollTo method at here.
So I have this idea. For example, provides a scrollBehaviourContainer: "#id" to make it works?
What problem does this feature solve?
Our vue app uses a fixed height
<div>
as frame container to load all pages inside, like following snippet:I wanted to use
scrollBehaviour
to handle page navigation'sscrollTop
, but it did't work.And also I found that vue-router set scrollTop by using
window. scrollTo
method at here.So I have this idea. For example, provides a
scrollBehaviourContainer: "#id"
to make it works?What does the proposed API look like?
The text was updated successfully, but these errors were encountered: