IonicModule.forRoot(getConfig()) navAnimation not working on v5.2
See original GitHub issueIonicModule.forRoot(getConfig())
setting in app.module.ts
It works fine until 5.1.1 version. But, It doesn’t work after 5.2 version update.
There was no breaking change guide, it seems like a bug.
[More information] I was created a custom animation in the navAnimation config and it worked fine from 5.0.0 to 5.1.1 I think that it was affected by animation changes related to #21433
It was a very good idea to change the animations that can be set for per page. But, I think that adding custom animation to global settings should work by default.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
IonicModule.forRoot(getConfig()) navAnimation not working ...
IonicModule.forRoot(getConfig()) setting in app.module.ts. It works fine until 5.1.1 version. But, It doesn't work after 5.2 version update.
Read more >Config | Ionic Config to Change Component Properties Globally
Ionic Config provides a way to change the properties of components globally across an app. Config can set the app mode, tab button...
Read more >IonicModule.forRoot() does not work in lazy loaded module in ...
I would like to separate the Ionic project from another project by lazy loading the Ionic. So, as I used to do, I...
Read more >Customizing Page Transitions in Ionic 5 | Damir's Corner
The custom animation can be specified as a value for the navAnimation field: @NgModule({ // ... imports: [ BrowserModule, IonicModule.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
npm i @ionic/angular@5.3.0-dev.202006111707.7c8f621
After installing with the dev build, It works fine with custom animation settings in navAnimation!Thanks for the follow up. Can you try the following dev build and let me know if it resolves the issue?
npm i @ionic/angular@5.3.0-dev.202006111707.7c8f621