scrollBehaviour: Target Element #2249
Closed
bennyschudel
started this conversation in
Ideas
Replies: 2 comments
-
Duplicate of vuejs/vue-router#1187 |
Beta Was this translation helpful? Give feedback.
0 replies
-
My plan is to adapt the API in the future to be more flexible. You can use vuejs/vue-router#1187 (comment) in the meantime |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I noticed that
scrollBehaviour
does only work with the document but not with a container. However I have applications that need the restoration of the scroll-position within another element.I had a look at the code and for me it seems to be possible without much effort.
Would you think I would be feasible to add a target property?
What are your thoughts on that?
Any reasons this has not been implemented in the first-hand?
Best
Benny
Beta Was this translation helpful? Give feedback.
All reactions