Skip to content

Support hash links clicked on nested routes #481

@markcellus

Description

@markcellus

After being routed to a component using a nested path (e.g. /path/to/my/first/route), clicking on a link with a hash

<a href="#comment2">hashed link</a>

Should scroll to the element with the id of comment2 at the same route instead of attempting to route to /#comment2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions