-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Navigating back should retain the scroll position. #1182
Comments
I've got the same issue and the same conclusion. The weird things is |
A temporary solution is to store the needed id when I click on a |
Hi @krestaino. Thanks for your nice reproduce example. We are working on a fix ASAP. I'm closing all related issues to make issue tracking for 1.0 release easier. Feel free adding more comments or possibly help us for a fix PR. |
Any updates on the fix? |
This was fixed with the 1.3.0 release. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Version
1.0.0-rc3
Reproduction link
https://github.com/krestaino/scroll-position-nuxt
Steps to reproduce
What is expected?
Navigating back should retain the scroll position.
What is actually happening?
Navigating back does not retain the scroll position.
Additional Info
One thing I noticed, if I set the height of the HTML element to something like
html { min-height: 10000px }
, the issue goes away. It doesn't seem to be 100% consistent though. Is this happening because the post list is being rendered dynamically usingv-for
?The text was updated successfully, but these errors were encountered: