How do I get pagination to instantly return users to top the page after clicking “next”?
scrollTo(); won’t work, because it’s too slow.
How do I get pagination to instantly return users to top the page after clicking “next”?
scrollTo(); won’t work, because it’s too slow.
Hello Dustin
I would suggest linking to the anchor on top of the page:
wixLocation.to('/catalog#topOfList')
You can also use a button that links to the top of the page by setting its link to:
I hope this works
Massa
Thanks a ton!