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
browser back error #6799
Comments
👋 @xianweics, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. For usage questions, please use Stack Overflow or Reactiflux where there are a lot more people ready to help you out. |
@timdorr This isn't a support question. The issue as described is replicable. Compare:
Also see history remix-run/history#470 I agree with all previous issues that the proper fix should be implemented in history. But Maybe we should just let one instance of this issue open here, reference the history issue and lock it. That might help stop people from reopening it a 7th time. |
thx. |
Version
Please replace this sentence with the React Router version that you are using.
Test Case
https://codesandbox.io/s/7zwjlm2j3q
Steps to reproduce
Now you will find that url hasn't been changed.
Expected Behavior
When I click back icon once, the url changes and goes back to homepage instead of 'About'.
Actual Behavior
The url hasn't been changed. The route can't go back to homepage until you click back icon many times. I know when I click navigation 'About' once, the react-router will push history once. It will push once after I click 'About' again, so that I cannot able to reach homepage.
Please help me solve this problem.
The text was updated successfully, but these errors were encountered: