angular.js icon indicating copy to clipboard operation
angular.js copied to clipboard

ngAnimate: a requestAnimationFrame callback is created for each not-really-animated child of a structurally animated element

Open mikaraento opened this issue 12 years ago • 1 comments

So if a view with 100 ng-repeat items is entered with ngAnimate loaded we get 100 extra closures and callbacks, which can cost 20ms of javascript on an iPhone5 that could be used for something else.

I have a pull request, I'll attach it shortly.

mikaraento avatar Mar 31 '14 16:03 mikaraento

hm, I should have read the other contributing docs, I'll close this issue and create a new one with the template (same with the PR).

mikaraento avatar Mar 31 '14 16:03 mikaraento