Skip to content

Scroll position is lost when navigating the page (Chrome) #5076

Closed

Description

@Andrew-web-coder

🐛 Bug Report

Steps to reproduce

  1. Step - Go to https://docusaurus.io/docs/2.0.0-beta.1/docs-introduction and scroll down half a page
  2. Step - Click on the next docs in the sidebar, for example, https://docusaurus.io/docs/2.0.0-beta.1/create-doc and scroll down
  3. Step - Click "Back" button, previous page will load, but it jump to the top.

Expected behavior

Scroll position should stay the same. It works fine on FF.

Actual behavior

Page suddenly jumps to the top. It worked fine before beta release.

Activity

  1. added
    bug
    status: needs triage
    on Jun 28, 2021
  2. slorber commented on Jun 28, 2021

    @slorber
    Collaborator

    Thanks for reporting

    It worked fine before beta release.

    In which release did it work the last time for you?

  3. Andrew-web-coder commented on Jun 28, 2021

    @Andrew-web-coder
    Author

    I think I noticed this issue after upgrading from the last alpha to the latest.

  4. removed
    status: needs triage
    on Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions