This repository was archived by the owner on Apr 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27.4k
View transition animations break with single ng-animate-ref 1.4.4 and snapshot #12655
Comments
Here's a demo with a patch that will go into 1.4.5: http://plnkr.co/edit/1gTNNLBEPwiDlJYXxudu?p=preview |
I'm super happy to see you're using the anchoring feature :) |
matsko
added a commit
to matsko/angular.js
that referenced
this issue
Aug 25, 2015
This reverts the previous behaviour of using foreced reflows to deal with preparation classes in favour of a system that uses requestAnimationFrame (RAF). Closes angular#12669 Closes angular#12594 Closes angular#12655 Closes angular#12631 Closes angular#12612
matsko
added a commit
to matsko/angular.js
that referenced
this issue
Aug 25, 2015
This reverts the previous behaviour of using foreced reflows to deal with preparation classes in favour of a system that uses requestAnimationFrame (RAF). Closes angular#12669 Closes angular#12594 Closes angular#12655 Closes angular#12631 Closes angular#12612 Closes angular#12187
matsko
added a commit
to matsko/angular.js
that referenced
this issue
Aug 27, 2015
This reverts the previous behaviour of using foreced reflows to deal with preparation classes in favour of a system that uses requestAnimationFrame (RAF). Closes angular#12669 Closes angular#12594 Closes angular#12655 Closes angular#12631 Closes angular#12612 Closes angular#12187
matsko
added a commit
to matsko/angular.js
that referenced
this issue
Aug 27, 2015
This reverts the previous behaviour of using foreced reflows to deal with preparation classes in favour of a system that uses requestAnimationFrame (RAF). Closes angular#12669 Closes angular#12594 Closes angular#12655 Closes angular#12631 Closes angular#12612 Closes angular#12187
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When using a view transition animation and ng-animate-ref, if you have only a single ng-animate-ref it breaks the view transition animation.
Take this lightly modified version of the ng-animate-ref example from the Angular documentation. I have modified it to just show a link to a single record rather than a list. Notice the page sliding is no longer working properly:
http://plnkr.co/edit/n5WPBEyF04WxAEb2bnFi?p=preview
By adding an empty span with a nonsense ng-animate-ref, the issue goes away:
http://plnkr.co/edit/ua4e00iUajeh0dcu7UF9?p=preview
The issue also resolves by simply reverting to 1.4.3:
http://plnkr.co/edit/Lq9AoWo6Hz3qpCbNie92?p=preview
Updating to snapshot version does not resolve the issue.
The text was updated successfully, but these errors were encountered: