Closed yoyo930021 closed 1 year ago
A clear and concise description of what the bug is.
When browserHistorySeparator or browserHistoryRoot startWiths url, the initial url get wrong url. In some route reload, user will redirect to / path.
browserHistorySeparator
browserHistoryRoot
/
Steps to reproduce the behavior:
/a
/about
PS. If you use my CodeSandbox, you just need to go to about page and reload it.
stay in /about page
Go to / page
If applicable, add screenshots to help explain your problem.
https://user-images.githubusercontent.com/9126398/211283325-7be6dd52-b563-451a-b795-3b62fd2b0ef3.mov
Add any other context about the problem here.
Describe the bug
A clear and concise description of what the bug is.
When
browserHistorySeparator
orbrowserHistoryRoot
startWiths url, the initial url get wrong url. In some route reload, user will redirect to/
path.To Reproduce
Steps to reproduce the behavior:
browserHistoryRoot
to/a
./a
. Ex:/about
/about
page and reload it.PS. If you use my CodeSandbox, you just need to go to about page and reload it.
Expected behavior
stay in
/about
pageActual Behavior
Go to
/
pageScreenshots
If applicable, add screenshots to help explain your problem.
https://user-images.githubusercontent.com/9126398/211283325-7be6dd52-b563-451a-b795-3b62fd2b0ef3.mov
Additional context
Add any other context about the problem here.