Skip to content

[4.0.0-beta.17] routerLink not working after first successful forward/back navigation #16534

Description

@h4rm

Bug Report

Ionic Info

Ionic:
ionic (Ionic CLI) : 4.4.0 (/Users/ben/.nvm/versions/node/v10.13.0/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.0.0-beta.17
@angular-devkit/build-angular : 0.11.0
@angular-devkit/schematics : 7.1.0
@angular/cli : 7.1.0
@ionic/angular-toolkit : 1.2.0
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : none
Cordova Plugins : no whitelisted plugins (0 plugins total)
System:
ios-deploy : 1.9.2
ios-sim : 5.0.6
NodeJS : v10.13.0 (/Users/ben/.nvm/versions/node/v10.13.0/bin/node)
npm : 6.4.1
OS : macOS
Xcode : Xcode 9.4.1 Build version 9F2000

Describe the Bug
After navigating to another route with routerLink (e.g. relative navigation in tabs via ['../', 'session', session.id]) and after going back via ionic back button, which works as intended, the original routerLink is not working anymore.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Clone ionic-conference-app
  2. (Change @ionic/angular to beta17)
  3. in schedule.html of the schedule, switch href with [routerLink]="['../', 'session', session.id]"
  4. Navigate to session detail and back, try again

Expected Behavior
Navigation should still work.
Maybe this has to do with your recent changes @manucorporat.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions