Hey Bricks team,
I’ve encountered a UX issue that might be considered a bug:
When using pagination with AJAX enabled, everything works fine when navigating forward. However, if I click the browser’s back button, the page scrolls back to the last pagination position (i.e., near the pagination element), not to the top of the page.
Expected behavior:
After hitting the browser back button, the page should scroll to top: 0
(or a specific section ID), especially when returning to an AJAX-loaded pagination state.
What would help
It would be great if Bricks could:
- Automatically scroll to top when navigating back to a paginated page with AJAX, or
- Provide a setting to disable browser scroll restoration, or
- Trigger a custom hook/event on history navigation we can hook into via JS.