-
Notifications
You must be signed in to change notification settings - Fork 516
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
When URL sync is active, it requires two click to go back one step #2171
Comments
This was introduced when I changed the update of the URL to only happen when there is a search. The problem comes from that we use to rely on We need to introduce a new state in the URL sync when the update comes from the URL (eg when popping a state from the history). This way we can prevent the timed out update of the URL from happening. |
The |
Do you want to request a feature or report a bug?
Bug.
Bug: What is the current behaviour?
When click on the browser back button, it requires two click to move back one step. Furthermore, when going back, it seems that we can't go forward (which indicates that we might have a new state that is recorded)
On https://demo.algolia.com/instant-search-demo/, follow these steps:
Bug: What is the expected behaviour?
One click --> one step back and have the ability to go forward.
Bug: What browsers are impacted? Which versions?
tested on chrome, latest.
Bug: What is the proposed solution?
🤷♀️
This bug is reproducible in both v1 and v2.
The text was updated successfully, but these errors were encountered: