Skip to content

Feature Request: Add support for handling browser forward/back buttons #90

@greenlaw

Description

@greenlaw

I've noticed that the object-key hash-navigation only seems to work when the breadcrumbs are clicked or the user navigates to the page with a populated hash (e.g. initial load or browser refresh). If you're navigating through a key (directory) hierarchy, the browser back/forward buttons don't seem to have any effect, even though the location hash changes.

Looks like this could be implemented by adding a handler for the popstate event.

When I find some time hopefully I can create a PR for this, but wanted to document it before I forgot.

Metadata

Metadata

Assignees

No one assigned

    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