@Sathish You are correct about the repartition of roles between .animate() and directive. I believe animations were setup this way to prevent overlapping animations from hampering each other, and the issue has to do with how DOM manipulation is handled during the digest cycle. Opening a ticket on the matter could be a good idea, as it appears we are not the only ones struggling with how to do things right animation-wise in the context of .animate() only. If nothing else, perhaps someone will suggest a solution that isn't clear at first sight when reading the doc.
On Mon, Feb 17, 2014 at 6:42 AM, Sathish Kumar <[email protected]> wrote: > @Matthieu > Just for clarity you have used .animate()(jquery animation) for parent and > pushed the Angular Animation to the directive(child) is that it? > That's the way we had our code earlier which was working fine. > We are trying to have the animation completely controlled from Angular > even for Parent. > > Can we raise this as an issue and suggest a fix? > Still not clear why this check was put in the first place. > This restricts multiple animations on parent and child. > > > > On Saturday, 15 February 2014 15:39:39 UTC+5:30, Matthieu Larcher wrote: >> >> I have run into that issue too while trying to handle a ngview >> transition. As a workaround I resorted to do part of the animation through >> animate() and trigger the inner animations through a directive. >> It seems to me that angular animations could be improved a lot to fit the >> bill when it comes to real world requirements. Clients usually want a more >> fine grained control over animations that what is currently possible using >> only .animate(). >> Anyhow, try to mix both animate and directives, you should be able to get >> at least a step further. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/oyRyggqDSgc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
