Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Add handling for pre-render popstate events #97

Merged
merged 1 commit into from
Oct 29, 2015
Merged

Conversation

mridgway
Copy link
Collaborator

This solves an issue where navigation such as Page 1 -> Page 2 -> Off-site and then using the back button twice will result in missing the second popstate event. This causes the URL to be for Page 1 but still displaying the app on Page 2.

Open to other ideas on how to solve this.

@lingyan
Copy link
Contributor

lingyan commented Oct 29, 2015

I don't have a better solution. This looks good to me. 👍

@yahoocla
Copy link

CLA is valid!

mridgway added a commit that referenced this pull request Oct 29, 2015
Add handling for pre-render popstate events
@mridgway mridgway merged commit f35880e into master Oct 29, 2015
@mridgway mridgway deleted the fixMissedPopStates branch October 29, 2015 20:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants