Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Redirect not destroying page #29612

Open
3 tasks done
maxsuelslima opened this issue Jun 12, 2024 · 0 comments
Open
3 tasks done

bug: Redirect not destroying page #29612

maxsuelslima opened this issue Jun 12, 2024 · 0 comments
Assignees
Labels

Comments

@maxsuelslima
Copy link

Prerequisites

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.

image

Expected Behavior

The private route should be detroyed or at least not rendered twice

Steps to Reproduce

  1. Try to acess "/" route
  2. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants