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

Top of page #62

Open
joer80 opened this issue Aug 22, 2017 · 1 comment
Open

Top of page #62

joer80 opened this issue Aug 22, 2017 · 1 comment

Comments

@joer80
Copy link

joer80 commented Aug 22, 2017

Is there a built in way to make it so clicking to a new page will take you to the top of the results?
Edit: I am currently doing this:

onLangsPageChange (toPage, fromPage) {
document.body.scrollTop = 0; // For Chrome, Safari and Opera
document.documentElement.scrollTop = 0; // For IE and Firefox
}

@palomamtnez
Copy link

palomamtnez commented Apr 15, 2021

Any updates?

Yeah? Nah?

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