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

Refreshing page should not restore scroll position #186

Closed
Nutomic opened this issue Feb 18, 2021 · 2 comments
Closed

Refreshing page should not restore scroll position #186

Nutomic opened this issue Feb 18, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@Nutomic
Copy link
Member

Nutomic commented Feb 18, 2021

I think if you refresh the page, it should show the top of the page instead of scrolling down. Similarly, clicking the site name/icon in the top left to get to the front page should also bring you to the top of the main page.

@Nutomic Nutomic added the enhancement New feature or request label Feb 18, 2021
@dessalines
Copy link
Member

Hrm... not sure about this one. For example on mobile, firefox often clears that tab to free up memory, but then when you click on the tab again, it refreshes the page. In that case it wouldn't remember my scroll position and I'd have to scroll down again.

@Nutomic
Copy link
Member Author

Nutomic commented Feb 18, 2021

I'm talking about the case where a user explicitly presses the reload button. Though I'm not sure if you can distinguish that from an automatic refresh.

dessalines added a commit that referenced this issue Jul 16, 2021
Don't restore scroll position on page refresh. Fixes #186
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants