Skip to content

[4.2] Nested Router outlet stops working after page navigation #949

Closed
@vakrilov

Description

@vakrilov

Nested <router-outlet> stops working after page navigation.
The problem occurs when you have <router-outlet> nested inside a <page-router-outlet>. When you navigate to another page and then back again, the nested <router-outlet> remains empty and you can no longer navigate in it.

Repro:

  1. Run this sample from the ng-sample app
  2. Click "Start" -> navigates to second page with nested outlet (green background)
  3. Click "Nav to First" -> forward navigation the first page
  4. Click back -> we are back to the previous page, but the nested outlet (with the green background) is gone

Issue reproducible for both Android and IOS.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions