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 cause errors after updating to 1.3 (Cannot read property 'parentNode' of undefined) #9953
Closed
Description
Hi,
We migrate our codebase from 1.2 to 1.3 and we have a strange error with ngAnimate now.
Everything was working fine before but since we update to 1.3 we have weird errors in console at angular-animate.js:1201:41 in method setClass:
TypeError: Cannot read property 'parentNode' of undefined
at http://localhost:9000/angular-animate/angular-animate.js:1201:41
at http://localhost:9000/angular-animate/angular-animate.js:538:22
at Scope.$digest (http://localhost:9000/angular/angular.js:14002:36)
at Scope.$apply (http://localhost:9000/angular/angular.js:14214:24)
at done (http://localhost:9000/angular/angular.js:9474:47)
at completeRequest (http://localhost:9000/angular/angular.js:9659:7)
at XMLHttpRequest.requestLoaded (http://localhost:9000/angular/angular.js:9602:9)
All this stack is inside angularjs and we are not enough confident to explain why we face those errors.
Seems like a breaking change in the 1.3 cause those issues.
If we remove ngAnimate from loaded modules, everything works fine but we don't have fancy animations anymore of course :(
We plan to work on a jsbin/jsfiddle to reproduce the problem on a code base with less than 12000+ loc...
If you have any idea about this issue, please your help is welcome 😃
Regards