Skip to content

Fix #373 Go back and go forward functionality broken #374

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

Merged
merged 1 commit into from
Jul 8, 2017

Conversation

imaustink
Copy link
Contributor

@imaustink imaustink commented Jul 7, 2017

go-back-and-forward

@imaustink imaustink requested a review from chasenlehara July 7, 2017 18:26
We listen got popstate and then call the navigate function with the current href. The navigate function then calls pushState with that href which overwrites history. This commit add an option to the navigate function to disable pushSate when not needed. Fixes #373
@imaustink imaustink force-pushed the 373-fix-go-back-and-forward branch from cbc53fc to fd42f1f Compare July 7, 2017 18:52
@imaustink imaustink merged commit a6500a3 into master Jul 8, 2017
@imaustink imaustink deleted the 373-fix-go-back-and-forward branch July 8, 2017 00:33
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

Successfully merging this pull request may close these issues.

1 participant