Hi,

I have been wrestling with a problem whereby ngRepeat animations are 
putting "entering elements" after "leaving elements" in a <ul> list.  I am 
updating an array which has an ngRepeat operating over it and when the 
digest cycle runs, the ng-enter elements are before the ng-leave elements 
in the list.  I have a horizontal list and I am having trouble animating 
using a 'left' property transition (typical carousel with a number of items 
in view at once) because the items I want to transition out of view to the 
left are after the ones I am trying to transition in.  I can swap them 
around by first adding the new items and then $$postDigest removing the old 
ones but the result is not a smooth transition.  Also, I feel like I must 
be fighting the technology a bit here because it feels like I am writing 
code I shouldn't need to.  I have not found anything resembling this 
problem through google search and I am hoping someone who uses angular 
ngRepeat animations a bit can help me understand why ng-enter elements are 
added after ng-leave elements in an animation ngRepeat list and what I can 
do to control it.

Thanks in advance :)

-- 
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/d/optout.

Reply via email to