<!-- READ THIS BEFORE POSTING ISSUE: Please, don't ask questions on GitHub! Do you want to ask a question? Are you looking for support? The Framework7 forum (http://forum.framework7.io) and Stack Overflow (http://stackoverflow.com/questions/tagged/framework7) are the best places for getting support - If the issue is about Framework7 v1/v2/v3/v4 then it is more likely it will be closed because v1/v2/v3/v4 is not maintained anymore - If the issue is related to Swiper, then please open it in Swiper repository at https://github.com/nolimits4web/Swiper - If the issue is related to Dom7, then please open it in Dom7 repository at https://github.com/nolimits4web/Dom7 - If the issue is related to Template7, then please open it in Template7 repository at https://github.com/nolimits4web/Template7 --> - Framework7 version: 7.0.9 - Platform and Target: Any - Live Link or CodeSandbox: https://codesandbox.io/p/sandbox/mystifying-snowflake-ihlytn?file=%2Fsrc%2Fapp.f7.html&selection=%5B%7B%22endColumn%22%3A10%2C%22endLineNumber%22%3A9%2C%22startColumn%22%3A10%2C%22startLineNumber%22%3A9%7D%5D ### Describe the bug 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. ### To Reproduce Steps to reproduce the behavior: 1. open browserHistory and set `browserHistoryRoot` to `/a`. 2. add a route with path start with `/a`. Ex: `/about` 3. open `/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` page ### Actual Behavior Go to `/` page ### Screenshots 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.
Describe the bug
A clear and concise description of what the bug is.
When
browserHistorySeparatororbrowserHistoryRootstartWiths url, the initial url get wrong url.In some route reload, user will redirect to
/path.To Reproduce
Steps to reproduce the behavior:
browserHistoryRootto/a./a. Ex:/about/aboutpage and reload it.PS. If you use my CodeSandbox, you just need to go to about page and reload it.
Expected behavior
stay in
/aboutpageActual Behavior
Go to
/pageScreenshots
If applicable, add screenshots to help explain your problem.
2023-01-09.6.01.33.mov
Additional context
Add any other context about the problem here.