Skip to content

Anchor links in READMEs don't work on initial page load #1847

@thombles

Description

@thombles

I saw a link in a tweet of the following form: https://crates.io/crates/oorandom#user-content-a-brief-history-of-random-numbers

Expected behaviour: Page loads, README loads, JS triggers a scroll to the now-present anchor

Current behaviour: Page loads, README loads, scroll stays at the top, visitor is left wondering what they're looking at

Metadata

Metadata

Assignees

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