Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ionic v4] IonicModule breaks angular router / Multiple ion-router-outlets / Multiple tabs pages not working #14888

Closed
ghost opened this issue Jul 26, 2018 · 3 comments
Assignees
Labels
package: angular @ionic/angular package

Comments

@ghost
Copy link

ghost commented Jul 26, 2018

Bug Report

Ionic Info

Ionic:

   ionic (Ionic CLI)          : 4.0.0 
   Ionic Framework            : @ionic/angular 4.0.0-beta.0
   @angular-devkit/core       : 0.7.0-rc.3
   @angular-devkit/schematics : 0.7.0-rc.3
   @angular/cli               : 6.0.8
   @ionic/ng-toolkit          : 1.0.0
   @ionic/schematics-angular  : 1.0.0

System:

   NodeJS : v8.11.1 (C:\Program Files\nodejs\node.exe)
   npm    : 6.2.0
   OS     : Windows 10

Describe the Bug
Navigation is stuck after navigating between two components with child routes and ion-router-outlets. This works in angular with router-outlet but not after IonicModule is imported.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Go to https://ion-router-outlet-bug.stackblitz.io/first/tab1
  2. Click through Tab 1 - 3 and see the content change.
  3. Click "Second Tabs Page"
  4. Click through Tab 4 - 6 and see the content change.
  5. Click "First Tabs Page" (navigating you back)
  6. The content is now stuck to the last tab you clicked.

Related Code
https://stackblitz.com/edit/ion-router-outlet-bug

Expected Behavior
Navigation should still work after navigating from /first to /second

The docs states that should behave as angular's

Possibly related
[Ionic v4] Returning to tabs from another page causes tabs to break #14885
#14885

@ionitron-bot ionitron-bot bot added the triage label Jul 26, 2018
@brandyscarney brandyscarney added the package: angular @ionic/angular package label Jul 26, 2018
@ionitron-bot ionitron-bot bot removed the triage label Jul 26, 2018
@manucorporat manucorporat self-assigned this Aug 12, 2018
@ghost
Copy link
Author

ghost commented Aug 16, 2018

This issue is not resolved, see the following repo:

https://github.com/knutto/bug-ion-router-outlet

Ionic:

   ionic (Ionic CLI)          : 4.1.0 (C:\Users\<username>\AppData\Roaming\npm\node_modules\ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.3
   @angular-devkit/core       : 0.7.3
   @angular-devkit/schematics : 0.7.3
   @angular/cli               : 6.1.3
   @ionic/ng-toolkit          : 1.0.6
   @ionic/schematics-angular  : 1.0.5

System:

   NodeJS : v10.8.0 (C:\Program Files\nodejs\node.exe)
   npm    : 6.3.0
   OS     : Windows 10

@ghost
Copy link
Author

ghost commented Aug 17, 2018

@manucorporat

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 16, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: angular @ionic/angular package
Projects
None yet
Development

No branches or pull requests

2 participants