fix(animations): only treat view removals as void
state transitions (#15245)
Closes #15223 PR Close #15245
This commit is contained in:

committed by
Miško Hevery

parent
8415910375
commit
c66437fc13
@ -106,8 +106,8 @@ export class DomAnimationEngine {
|
||||
this._elementTriggerStates.set(element, lookupRef = {});
|
||||
}
|
||||
|
||||
let oldValue = lookupRef[property] || 'void';
|
||||
if (oldValue != value) {
|
||||
let oldValue = lookupRef.hasOwnProperty(property) ? lookupRef[property] : 'void';
|
||||
if (oldValue !== value) {
|
||||
let instruction = trigger.matchTransition(oldValue, value);
|
||||
if (!instruction) {
|
||||
// we do this to make sure we always have an animation player so
|
||||
|
Reference in New Issue
Block a user