fix(animations): ensure DOM is cleaned up after multiple @trigger leave animations finish (#20740)
Closes #20541 PR Close #20740
This commit is contained in:

committed by
Igor Minar

parent
6790e02a13
commit
b78ada198a
@ -32,7 +32,6 @@ export class AnimationGroupPlayer implements AnimationPlayer {
|
||||
scheduleMicroTask(() => this._onFinish());
|
||||
} else {
|
||||
this.players.forEach(player => {
|
||||
player.parentPlayer = this;
|
||||
player.onDone(() => {
|
||||
if (++doneCount >= total) {
|
||||
this._onFinish();
|
||||
|
Reference in New Issue
Block a user