Skip to content

Angular animation: :leave animation starts at wrong position #29526

@mfursov

Description

@mfursov

Affected Package

@angular/animations

Description

:leave animation has incorrect initial position for the animated elements.

🔬 Minimal Reproduction

https://stackblitz.com/edit/angular-fqxnxd?file=src%2Fapp%2Fapp.component.ts

Follow the steps in the demo. Notice that only first element exits correctly.

🌍 Your Environment

Chrome v73

Angular Version:
"@angular/animations": "^7.2.10",
"@angular/common": "7.2.5",
"@angular/compiler": "7.2.5",
"@angular/core": "7.2.5"

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: animationsfreq1: lowtype: bug/fix

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions