-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Handling CanActivate/CanDeactivate #211
Comments
@swymmwys can you add reproduction? |
@MurhafSousli please see https://stackblitz.com/edit/angular-candeactivate-8vvebg |
The router feature works when router events emits a |
yes, that is I'm talking about. |
Feature Request
Repro steps
Use CanActivate/CanDeactivate guards on any route.
Progress bar appears when resolving guard.
Desired functionality
It would be nice to have an ability to define whether you need or don't need to show progress bar while resolving CanActivate/CanDeactivate guards.
It's helpful when user have an unsaved changes and you are showing modal dialog, where he can chose to stay on current page or go to other and discard changes.
For now, when I show modal dialog from CanActivate/CanDeactivate guard, progress bar is shows up, which is unnecessary for that moment.
The text was updated successfully, but these errors were encountered: