Skip to content
Discussion options

You must be logged in to vote

Hey @woodenchair,

I think you can use window.scrollTo(0,0) to reset the scrolling. MDN docs.

You could add this to the plugin code inside the show_current_page() function so that the scrolling resets whenever the page changes.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sophief10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants