Skip to content

Back Button does not scroll to the correct position  #10292

@nilslindemann

Description

@nilslindemann

Describe the bug

In all tested browsers (Firefox, Chrome) the back button does not restore the scroll position of the previous page, when it is an internal link.

Reproduction

As a result we navigate back to the page where we came from, but the scroll position is not restored.

For comparision, on the same page, click on the external "Stack Overflow" or "Discord Chatroom" link and navigate back. The scroll position will be restored.

Logs

No response

System Info

System:
    OS: Linux 5.15 Linux Mint 21.1 (Vera)
    CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
    Memory: 7.77 GB / 15.36 GB
    Container: Yes
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 20.3.1 - ~/Node.js/v20.3.1/bin/node
    Yarn: 1.22.19 - ~/Node.js/v20.3.1/bin/yarn
    npm: 9.7.2 - ~/Node.js/v20.3.1/bin/npm
    pnpm: 8.6.5 - ~/Node.js/v20.3.1/bin/pnpm

Severity

annoyance

Additional Information

I am not sure if #10245 is related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions