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
 (Avg merge 37d 15h) (21 merged PRs in 30d)

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