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
ngAnimate assumes transition is linear instead of using the value in CSS #12656
Milestone
Comments
Thanks for reporting @wesleycho! Contrary to many other ngAnimate bug, this looks like it's not too difficult to fix. Do you think you could give a PR a shot? |
Sure, I'll try to put together a PR today |
Here's a plnkr that you can use http://plnkr.co/edit/rHRFzotMG5pZGeBKF8Lw?p=preview |
matsko
pushed a commit
to matsko/angular.js
that referenced
this issue
Dec 9, 2015
Previously, $animateCss wouldn't use transition styles that were on the element before the animation process started. Precisely, transition property, timing-function and delay were overwritten in the process. Closes angular#12656 Closes angular#13333
Narretz
added a commit
to Narretz/angular.js
that referenced
this issue
Dec 10, 2015
Previously, $animateCss wouldn't use transition styles that were on the element before the animation process started. Precisely, transition property, timing-function and delay were overwritten in the process. Closes angular#12656 Closes angular#13333
We had some issues on Travis, so the commit was reverted |
Narretz
added a commit
to Narretz/angular.js
that referenced
this issue
Dec 17, 2015
Previously, $animateCss wouldn't use transition styles that were on the element before the animation process started. Precisely, transition property, timing-function and delay were overwritten in the process. Closes angular#12656 Closes angular#13333
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There are two scenarios which are not being caught - the easing function in CSS when the transition is specified in the
transition
CSS property, and the easing function if it is specified in thetransition-timing-function
property.Here is a stripped down example of the
transition-timing-function
situation.Here is a plnkr, a stripped down example of the
transition
situation.Note that $animateCss (& $animate as well it turns out) assumes that the easing function is
linear
instead ofease
here.This is a regression from 1.3.x
The text was updated successfully, but these errors were encountered: