If your Collection List Pagination in Webflow is refreshing to the top of the page, there are a few potential reasons for this behavior. Here are some possible causes and solutions:
1. Incorrect setup: It's essential to ensure that you have set up your Collection List Pagination correctly. Make sure that you have placed the Pagination component within the same parent element as your Collection List. Additionally, double-check that you have configured the Pagination settings properly, such as the "Items per page" and "Total items" values.
2. Page structure: Sometimes, the issue may be related to the structure of your page. If your Collection List Pagination is placed inside a container or section with a fixed height or overflow settings, it can cause the page to jump back to the top during pagination. In such cases, adjusting the container's settings, such as removing fixed heights or modifying overflow attributes, can resolve the problem.
3. Interactions or custom code conflicts: If you have interactions or custom code on your page, it's possible that they are conflicting with the default behavior of the Collection List Pagination. Check if any interactions or custom code are affecting the scroll position on your page and causing it to jump to the top. Temporarily disabling interactions or code snippets and testing the pagination can help identify if this is the cause.
4. Collection List wrapper element: The Collection List wrapper element (typically a div) should have a unique class or ID assigned to it. If multiple Collection List wrapper elements on your page have the same class or ID, it can cause conflicts and unexpected behavior. Ensure that each Collection List wrapper has a unique identifier.
5. CMS item content: If you have complex content within your CMS items, such as images or embedded elements, they can affect the pagination behavior. Large file sizes, slow-loading resources, or rendering issues can disrupt the scrolling behavior during pagination. Optimize your media assets and double-check for any rendering issues that might be interrupting the smooth scrolling.
If you have tried these solutions and are still experiencing the issue, it would be helpful to provide additional context or share your Webflow project's read-only link. This way, the community can better diagnose the problem and offer more targeted assistance.