Skip to content

Animation enter fails to remove after animation completes #62923

@thePunderWoman

Description

@thePunderWoman

Which @angular/* package(s) are the source of the bug?

core

Is this a regression?

No

Description

In some patterns common in Angular components, there appear to be timing issues with animate.enter where the class will be present, the animation will play and be on the style sheet, but element.getAnimations() shows an empty array. This prevents us from knowing when to safely remove the class.

Please provide a link to a minimal reproduction of the bug

https://stackblitz.com/edit/stackblitz-starters-sktafpbz?file=angular.json

Please provide the exception or error you saw


Please provide the environment you discovered this bug in (run ng version)


Anything else?

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions