Skip to content
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 throws exception in cancelChildAnimations on deletion of repeated element when using ng-include #4548

Closed
@gregolsky

Description

@gregolsky

Here's plunker http://plnkr.co/edit/HrmBBmz949YnS7IcPyp7?p=preview
Please try to click one of the "Remove this" links.
I attach stack trace just in case.

TypeError: Object # has no method 'querySelectorAll'
at cancelChildAnimations (http://code.angularjs.org/1.2.0-rc.3/angular-animate.js:593:36)
at Object.leave (http://code.angularjs.org/1.2.0-rc.3/angular-animate.js:332:11)
at ngRepeatAction (http://code.angularjs.org/1.2.0-rc.3/angular.js:17770:24)
at Object.$watchCollectionAction as fn
at Scope.$digest (http://code.angularjs.org/1.2.0-rc.3/angular.js:10569:27)
at Scope.$apply (http://code.angularjs.org/1.2.0-rc.3/angular.js:10802:24)
at HTMLAnchorElement. (http://code.angularjs.org/1.2.0-rc.3/angular.js:16514:17)
at http://code.angularjs.org/1.2.0-rc.3/angular.js:2331:10
at Array.forEach (native)
at forEach (http://code.angularjs.org/1.2.0-rc.3/angular.js:213:11)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions