You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
If an element has both ng-repeat and a directive that uses templateUrl <div my-dir ng-repeat="...">, the enter animation doesn't work for the first item, even if the template is in $templateCache.
If you don't pre-warm the $templateCache, the leave animation doesn't work either. You can comment out the run block in the demo to see this.
If the directive is on a child element, the problem goes away, and all animations work. And if fetching the template is fast enough, enter and leave animations both work from a cold cache.
<div ng-repeat="x in y"> <div my-dir></div> </div>
I tested this in Angular 1.5.8 and 1.6.0, with Chrome 54, Safari 10, and Firefox 50.