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

Page is not scrolled to top after loading another page dynamically #6

Open
Marat-Tanalin opened this issue Oct 7, 2019 · 1 comment

Comments

@Marat-Tanalin
Copy link

This causes the page loaded dynamically (via history.push()) to be shown at some nonstarting position which is somewhat confusing.

@nyanpasu64
Copy link

Maybe one possible solution is when replacing the page content, you should scroll to top?

this.content = newContent;

A workaround is to disable JS on your blog using uBlock Origin.

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

No branches or pull requests

2 participants