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 4] Angular Ionic router animated: false does not work on initial load #17714

Closed
rossholdway opened this issue Mar 7, 2019 · 2 comments
Labels
package: angular @ionic/angular package type: bug a confirmed bug report

Comments

@rossholdway
Copy link
Contributor

rossholdway commented Mar 7, 2019

Bug Report

Ionic version:

[x] 4.1.0

Current behavior:
On initial load of an Angular Ionic app, the initial view containing a link that defines an {animated: false} option will still animiate on first click / tap.

Expected behavior:
I expect there to be no animation.

Steps to reproduce:
Create a link to another page with animated: false on the page that your app loads after booting. The link will still animiate to the next page on the first click / tap.
Clone the repo to see an example - https://github.com/rossholdway/ionic-v4-nav-bug

Related code:
this.navCtrl.navigateForward('/tabs/tab1/page1', {animated: false});

@ionitron-bot ionitron-bot bot added the triage label Mar 7, 2019
@liamdebeasi liamdebeasi added the type: bug a confirmed bug report label Mar 12, 2019
@ionitron-bot ionitron-bot bot removed the triage label Mar 12, 2019
@liamdebeasi liamdebeasi added the package: angular @ionic/angular package label Mar 12, 2019
@sean-perkins
Copy link
Contributor

Hello, I realize this issue is a little old, but I wanted to thank you for reporting it all the way back in 2019!

I have confirmed this issue has since been resolved and works as expected in v6 (the page will not animate with the provided code snippet and reproduction app, upgraded to latest dependencies).

@ionitron-bot
Copy link

ionitron-bot bot commented Apr 11, 2022

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 Apr 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: angular @ionic/angular package type: bug a confirmed bug report
Projects
None yet
Development

No branches or pull requests

3 participants