New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animation triggers are not executed on an element with hostBindings for enter/leave animations #28060

Open
matsko opened this Issue Jan 11, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@matsko
Copy link
Member

matsko commented Jan 11, 2019

馃悶 bug report

Affected Package

@angular/animations and @angular/core

Is this a regression?

Yes because this should've been fixed by #15193

Description

If a component exists with only a host binding that talks to an animation then if that host element is removed from the parent component it will not trigger the animations to run.

馃敩 Minimal Reproduction

https://stackblitz.com/edit/angular-ctywai?file=src%2Findex.html

馃敟 Exception or Error

No animations are run

馃實 Your Environment

Angular Version:
Angular 7.0.0 on Chrome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment