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

What happens to the fragment identifier when using history.pushState? #57

Closed
jackmoore opened this issue Sep 15, 2015 · 2 comments
Closed

Comments

@jackmoore
Copy link

Using react-router (1.0.0-rc1) and history (1.9.1), using the History mixin to call this.pushState. I get transitioned to the new state, but fragment identifier seems to be discarded. For example, if take this call to history.pushState:

this.history.pushState(null, '/home#list')

My new location becomes http://whatever/home with no hash.

@alexlande
Copy link

Looks like this is a duplicate of #51

@jackmoore
Copy link
Author

@alexlande Thanks

@lock lock bot locked as resolved and limited conversation to collaborators Jun 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants