-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Animations do not run in Angular 17 #125
Comments
@NathanWalker, is there any update on this? |
Any news on this? |
OK, I've worked out what the issues were for the animations. Or at least, I got them working for me, but I can't patch it properly (yet). All I can do is mod the node_modules file for nativescript/angular, and the animations will work. Here are the changes in At the top of the file, I add
Then an import from '@angular/animations':
There's a lot of commented code, so I had to uncomment the following (with some changes based on the imports):
NOTE: There are two instances of those providers, so I had to uncomment both:
The last part is a bug fix for something that changed in Angular. Apparently the first param of AnimationEngine was changed from the bodyNode to the doc, so we need to change the
That's it. Just those changes, and the animations work like before. Is it possible to get similar changes into an ns/angular update? Attn: @NathanWalker |
PR created to correct this issue: #132 |
Huge thank you to @JWiseCoder @darklight365! |
We have a number of angular animations in our app, and when I update to Angular 17, the animations stop working. They are complex animations with multiple triggers and transitions, but none of it is running. Even if I put in a transition like this at the top of my triggers:
That function never runs. I haven't changed anything between versions and it is broken on both iOS and Android, so something must have changed with how Angular does animations.
The text was updated successfully, but these errors were encountered: