Skip to content

Commit 343e139

Browse files
edusperoniNathanWalker
authored andcommitted
fix: force trigger CD on navigation (#27)
1 parent 576a474 commit 343e139

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/angular/src/lib/legacy/router/page-router-outlet.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@ export class PageRouterOutlet implements OnDestroy {
307307
this.changeDetector.markForCheck();
308308

309309
this.activated = loaderRef.instance.loadWithFactory(factory);
310+
this.activated.changeDetectorRef.detectChanges();
310311
this.loadComponentInPage(page, this.activated, { activatedRoute });
311312

312313
this.activated[loaderRefSymbol] = loaderRef;

0 commit comments

Comments
 (0)