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.

Cancelling *chained* animations does not really work in 1.4.0 #12039

@dmitri777

Description

@dmitri777

the command $animate.enabled(false) is not preventing promise function specified in ".then" part of animation statement from being executed. It starts eternal loop of successive calls.

Here is my simple Plunker:

http://plnkr.co/edit/MmEJfAfJ3k0cbImfD2qa?p=preview

First, you start chained animations by clicking a button. So far all runs fine.

Then you try to stop it ( $animate.enabled(false) ), and it goes totally crazy... Just see the Plunker!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions