Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
greenlaw opened this issue Jul 23, 2020 · 1 comment
Open

Comments

@greenlaw
Copy link

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.

@lpalbou
Copy link

lpalbou commented Sep 17, 2020

Yep, I confirm that would be helpful, many users still use that to go through different pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants