You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
}
The text was updated successfully, but these errors were encountered:
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
}
The text was updated successfully, but these errors were encountered: