fix(animations): make sure animation cancellations respect AUTO style values (#18787)
Closes #17450 PR Close #18787
This commit is contained in:

committed by
Miško Hevery

parent
e25f05ae7c
commit
29aa8b33df
@ -158,9 +158,9 @@ export class WebAnimationsPlayer implements AnimationPlayer {
|
||||
|
||||
destroy(): void {
|
||||
if (!this._destroyed) {
|
||||
this._destroyed = true;
|
||||
this._resetDomPlayerState();
|
||||
this._onFinish();
|
||||
this._destroyed = true;
|
||||
this._onDestroyFns.forEach(fn => fn());
|
||||
this._onDestroyFns = [];
|
||||
}
|
||||
|
Reference in New Issue
Block a user