ionic-framework
ionic-framework copied to clipboard
bug: Redirect not destroying page
Prerequisites
- [X] I have read the Contributing Guidelines.
- [X] I agree to follow the Code of Conduct.
- [X] I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v7.x, v8.x
Current Behavior
When user land to a protected router and acess the protected, after sign in, this router is rendred twice.
Expected Behavior
The private route should be detroyed or at least not rendered twice
Steps to Reproduce
- Try to acess "/" route
- Click on [Sign In] button
Code Reproduction URL
https://github.com/maxsuelslima/ionic-redirect
Ionic Info
Ionic:
Ionic CLI : 7.2.0 (C:\Users\maico\AppData\Roaming\nvm\v20.13.1\node_modules@ionic\cli) Ionic Framework : @ionic/react 7.8.6
Utility:
cordova-res : not installed globally native-run : not installed globally
System:
NodeJS : v20.13.1 (C:\Program Files\nodejs\node.exe) npm : 10.5.2 OS : Windows 10
Additional Information
No response