This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
ngAnimate: Jumps in transition when 'delay' is set with $animateCss, but not set in CSS #13355
Closed
Description
Plnkr: http://plnkr.co/edit/DGI0fUHtzQkyIw6CKuJ6?p=preview
When I run a transition using $animateCss with a delay set in the params, the transition will jump suddenly sometimes, especially when delay
= duration
.
I don't think this is supposed to be happening.
This issue is easily fixed by setting transition-delay
in the object's CSS to any value at all (which gets ignored). I am not sure why no-value behaves differently from transition-delay: [any value]
.
A general workaround for anyone having trouble is to put the following at the top of your CSS:
* {
transition-delay: 0s;
}
since this is the default value for transition-delay
anyway.