Skip to content

Fragment navigation within pattern-library page not working #557

@lyzadanger

Description

@lyzadanger

At present, clicking on a link in a pattern-library page to a fragment within the same page does not work. The URL bar is updated, but the viewport does not scroll to the fragment location. Entering the same URL (with hash) directly works.

There's something about the navigate callback in the router that isn't working for this; I haven't investigated it. If I do something hamfisted to make the clickListener return without trying to handle navigating the link (i.e. return before calling navigate), it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions