Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore scrollposition flicks on browser back #27167

Open
bitmonti opened this issue May 11, 2024 · 0 comments
Open

Restore scrollposition flicks on browser back #27167

bitmonti opened this issue May 11, 2024 · 0 comments

Comments

@bitmonti
Copy link

bitmonti commented May 11, 2024

Environment

Operating System: Linux
Node Version:     v20.12.2
Nuxt Version:     3.11.2
CLI Version:      3.11.1
Nitro Version:    -
Package Manager:  pnpm@9.1.0
Builder:          -
User Config:      devtools
Runtime Modules:  -
Build Modules:    -

Reproduction

https://stackblitz.com/~/github.com/bitmonti/flick?file=layouts/default.vue

Describe the bug

SavedScrollPosition gets restored with a flick, when navigating to prev page by browser back button.
Screen_recording_2024-05-11_3.25.33_PM.webm

Additional context

No response

Logs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants