Skip to content

animate.leave does not emit animation events outside of the instructions #63391

@thePunderWoman

Description

@thePunderWoman

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

core

Is this a regression?

No

Description

For some reason the animationend event is not propagating up to the component when it fires on animate.leave. It works for animate.enter, but even if you prevent element removal, the animationend event does not fire. This prevents anyone from adding custom logic at the end of a leave animation.

Please provide a link to a minimal reproduction of the bug

No response

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

area: coreIssues related to the framework runtimecore: animationsIssues related to `animate.enter` and `animate.leave`

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions