Describe the bug
When navigating between pages in base/web, the scroll position sometimes resets to the top even when returning to a previously viewed page. This breaks expected navigation behavior and can be frustrating for users browsing longer pages.
Steps
- Open a page with long content.
- Scroll down several sections.
- Navigate to another page using an internal link.
- Use the browser back button or in-app navigation to return.
- Observe that the scroll position resets to the top.
Expected behavior
The application should preserve or restore scroll position when navigating back to a previously visited page, matching typical web navigation expectations.
Additional info
No response
Environment
- Device: Desktop
- OS: macOS 14.x
- Browser: Chrome
- Browser Version: 120+
- Reproducibility: Often