Skip to content

Two elements appear when leave animation is running and @if is toggled true #63020

@thePunderWoman

Description

@thePunderWoman

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

core

Is this a regression?

No

Description

In the case where you use an animate.enter and an animate.leave with a longer animation time you can see a duplicated element in the case that you toggle the @if to true while the leave animation is running. While this is expected, ideally we should not see duplicated elements.

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