fix(animations): always fire inner trigger callbacks even if blocked by parent animations (#19753)
Closes #19100 PR Close #19753
This commit is contained in:

committed by
Jason Aden

parent
1adbcda12e
commit
d47b2a6f70
@ -184,6 +184,13 @@ export class WebAnimationsPlayer implements AnimationPlayer {
|
||||
}
|
||||
this.currentSnapshot = styles;
|
||||
}
|
||||
|
||||
/* @internal */
|
||||
triggerCallback(phaseName: string): void {
|
||||
const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;
|
||||
methods.forEach(fn => fn());
|
||||
methods.length = 0;
|
||||
}
|
||||
}
|
||||
|
||||
function _computeStyle(element: any, prop: string): string {
|
||||
|
Reference in New Issue
Block a user