Skip to content

Conversation

@ADjenkov
Copy link
Contributor

routerExtensions.back({ relativeTo: activatedRoute.parent }) won't navigate back when used from nested named lazy loaded outlet, since the parent route is the outer named outlet (that has no navigation states). We should treat its parent route as the activatedRoute.parent one.

@ADjenkov ADjenkov added the bug label Nov 23, 2018
@ADjenkov ADjenkov self-assigned this Nov 23, 2018
@ghost ghost added the in progress label Nov 23, 2018
@ghost ghost assigned SvetoslavTsenov Nov 23, 2018
@ADjenkov ADjenkov merged commit bb0b48d into master Nov 26, 2018
@ghost ghost removed bug in progress labels Nov 26, 2018
@ADjenkov ADjenkov deleted the djenkov/router-extensions-back branch November 26, 2018 11:46
SvetoslavTsenov pushed a commit that referenced this pull request Nov 26, 2018
* fix(router-extensions): unable to go back with relativeTo param

* refactor(outlet): introduce isNSEmptyOutlet property
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants