Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.
This repository was archived by the owner on Mar 17, 2026. It is now read-only.

Bug: Scroll position resets unexpectedly when navigating between pages #2898

@flunky-totems

Description

@flunky-totems

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

  1. Open a page with long content.
  2. Scroll down several sections.
  3. Navigate to another page using an internal link.
  4. Use the browser back button or in-app navigation to return.
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions