Browser: Chrome Version 139.0.7258.139 (Official Build) (arm64)
OS: macOS
URL: Factor UTB
Hey Bricks team,
I’ve noticed that when I add the Filter - Search element to a page, scroll restoration no longer works as expected. For example:
- If I refresh the page, the scroll position is always reset to the top instead of being restored.
- If I navigate back to the page from another page, the same thing happens.
After some debugging, I found the cause - filter.min.js is setting:
history.scrollRestoration = 'manual';
This breaks a pretty standard expectation for users.
As far as I can tell, setting this back to ‘auto’ doesn’t seem to break the filtering functionality.
Let me know if there’s anything we can do about this.
Thanks for all your hard work!