You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I click browser's back button the location changes to a next location and then the confirm show, when I choose ok, the location changes back and not navigate ,why?
Then I try to add navigate() method, the page navigate rightly but when I repeat last action the location change to the next location but the page nothing happened, so I click the back button secondly, the confirm show, why?
the following code
I hope that when click the back button the location not change and the confirm show, while i choose ok,the location change to the next location and the page change
Actual Behavior
Actual performance is as above
The text was updated successfully, but these errors were encountered:
What version of React Router are you using?
6.23.1
Steps to Reproduce
I click browser's back button the location changes to a next location and then the confirm show, when I choose ok, the location changes back and not navigate ,why?
Then I try to add
navigate()
method, the page navigate rightly but when I repeat last action the location change to the next location but the page nothing happened, so I click the back button secondly, the confirm show, why?the following code
Expected Behavior
I hope that when click the back button the location not change and the confirm show, while i choose ok,the location change to the next location and the page change
Actual Behavior
Actual performance is as above
The text was updated successfully, but these errors were encountered: