You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
With InitialNavigation.enabledBlocking the initial navigation doesn't get completed #49567
Which @angular/* package(s) are the source of the bug?
router
Is this a regression?
No
Description
If I use InitialNavigation.enabledBlocking in my router config the initial navigation doesn't get completed.
The reason for this is the missing call of complete() here:
if (!bootstrapDone.closed) {
bootstrapDone.next();
bootstrapDone.unsubscribe();
}
In the reproduction of this bug the currentNavigation is returned in ngOnInit of the page-one component.
If the router config is changed to InitialNavigation.enabledNonBlocking the request of the currentNavigation returns null.
Please provide the environment you discovered this bug in (run ng version)
Activity
JeanMeche commentedon Mar 23, 2023
Looks like this was a regression introduced by #48063
fix(router): Ensure initial navigation clears current navigation when…
angular-automatic-lock-bot commentedon May 2, 2023
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.