I would like to implement seamless pagination on my website. To be clear, that is when a user can click “Next Page” on a paginated CMS list and the page will not scroll back to the top.
I found this solution online.
Unfortunately, once implemented on my website, it does not work as I was hoping.
- The seamless pagination works as expected.
- All of the other custom code I have on the page stops working after you press “Next Page”.
- After hitting “Next Page”, hitting refresh will fix the custom code issues, but obviously I cannot ask users to hit refresh every time they scroll through a CMS list.
Hopefully, someone else has run into this issue or has some alternative solution.
I would appreciate any help. Thanks in advance.