Open
Description
Which project does this relate to?
Router
Describe the bug
navigate is not work when the CatchBoundary
of the father route and it catch the error thrown by beforeLoad function of child route.
I want to use CatchBoundary component to catch child route error, keep the layout not change, after this, my navigate is not work.
Your Example Website or App
https://stackblitz.com/edit/github-ybhmkk
Steps to Reproduce the Bug or Issue
- click the 403 page navigate menu, and it will throw the forbidden error and render the error component.
- click the home page navigate menu, the error component is not clear
Expected behavior
As a user, l expected the error component unmount and navigate to home page, but i am seeing the url change to /home, but page is not change.
Screenshots or Videos
No response
Platform
- OS: macOS
- Browser: Chrome
- Version: 131.0.6778.70
Additional context
No response