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 crash regression between 1.2.13 and 1.2.14 #6592

Closed
@mgcrea

Description

@mgcrea

I got crashing animations since 1.2.14, usually when the $animate.enter is called while the $animate.leave is running. For instance if you hover very fast between two tooltips.

Worked flawlessly with angular v1.2.13:

Crashes with angular v1.2.14:

Uncaught TypeError: Cannot read property 'length' of null
angular-animate.js:290

Which translate to this line:
https://github.com/angular/angular.js/blob/v1.2.14/src/ngAnimate/animate.js#L284

The only change regarding ngAnimate between v1.2.13 and v1.2.14 seems to be the replace of done && $timeout(done, 0, false); by async(done).

@matsko Do you have any idea where this regression might come from?


I've tested ngAnimate#1.2.13 with angular#1.2.15-build.2389+sha.c5f2f58 and it still works, so it looks like this is a bug confined into ngAnimate.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions