-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
Feature scroll position tracking to improve back button #467
Comments
Hello Any news about this? I think its quite critical functionality. Regards |
Hi John, Thanks for asking. I see you think this is critical. Did you ran into a situation where the current back behavior didn't work as expected? I currently have this on the roadmap for v3.1 but if you have good reasons I'm willing to move this up in priority. |
Sorry for late response. Actually i never found a case the back button is working as expected. You have to save scroll position and then do various things to be sure that when use presses back it will land on the same spot. And even then browser may scroll down and never return to the correct spot. |
This is a very necessary option !!! |
Vote for this issue as well. |
Description
Currently the back button logic works based on an updated url in history. This way when you press the back button, you land on the previous page. In most situations the browser keeps track of scroll position and takes you to the correct spot. In other situations or browsers this doesn't seem to work.
In this feature I would like to explore if it's possible to track scroll position and page dimensions and store that information in localstorage and use that to bring the user to the right scroll position.
Related issue(s): #273
The text was updated successfully, but these errors were encountered: