Skip to content

[4.0.0-beta.7] Relative routing does not work after returning to same page #15449

@doender

Description

@doender

When I use relative routing to go from page A to page B like so:

openPageB(id) {
   this.router.navigate(['b', id], { relativeTo: this.route });
}

and then go back to page A (via the browser back button or an ion-back-button), calling openPageB again does nothing. When I use absolute routes everything works normally.

I've created a repository to demonstrate the issue here: https://github.com/doender/routingError

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions