reactjs/react.dev

The browser "back" button doesn't work

Open

#787 opened on Apr 10, 2018

View on GitHub
 (15 comments) (0 reactions) (0 assignees)JavaScript (7,898 forks)github user discovery
bug: confirmedgood first issue

Repository metrics

Stars
 (11,763 stars)
PR merge metrics
 (PR metrics pending)

Description

The browser "back" button doesn't work after clicking a fragment link (/page => /page#something).

URL changes back from /page#something to /page, but it has no effect on the scroll position.

Contributor guide