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

ionic4 - ion-router-outlet animation bug #14873

Closed
silverio opened this issue Jul 26, 2018 · 1 comment
Closed

ionic4 - ion-router-outlet animation bug #14873

silverio opened this issue Jul 26, 2018 · 1 comment
Assignees
Labels
package: angular @ionic/angular package

Comments

@silverio
Copy link

Bug Report

Describe the Bug

The router doesn't display the current content of the ion-router-outlet when animated=true, which is the default value. This happens while toggling several times between pages.

<ion-router-outlet main animated=true></ion-router-outlet>

Steps to Reproduce
Steps to reproduce the behavior:

  1. Go to https://stackblitz.com/edit/angular-h6egem
  2. In the split pane, click quickly on the about button and then on the home button
  3. Repeat step 2 until you see that the page on the right stays with the same content.

Expected Behavior
The content shown should always match the content from the active route (URL).

Additional Context
This issue is related to the animated=true, in the ion-router-outlet which is by default.
If you change it to ion-router-outlet main animated=false></ion-router-outlet>, the issue disappears.

@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 7, 2018
@ionitron-bot
Copy link

ionitron-bot bot commented Sep 9, 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 9, 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

3 participants