ViewTransitions looses track of scroll position #8083
Labels
- P4: important
Violate documented behavior or significantly impacts performance (priority)
feat: view transitions
Related to the View Transitions feature (scope)
What version of
astro
are you using?2.10.7
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Linux
What browser are you using?
Chrome
Describe the Bug
When navigating back and forth with the keyboard, the client side router looses track of the correct scroll position.
What's the expected result?
When pressing back, forward, back, the second back should result in the same scroll position as the first.
I tried to figure out how the history, popstate and scroll status should work, but failed :-)
Link to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-astro-rrjnk7?file=src%2Fpages%2Findex.astro
Participation
The text was updated successfully, but these errors were encountered: