fix(ivy): ensure element removal triggers host removal animations (#28162)
Prior to this fix Ivy would not execute any animation triggers that exist as host bindings on an element if it is removed by the parent template. PR Close #28162
This commit is contained in:

committed by
Alex Rickabaugh

parent
e172e97e13
commit
5a582a8afd
@ -148,8 +148,8 @@ export class BaseAnimationRenderer implements Renderer2 {
|
||||
this.engine.onInsert(this.namespaceId, newChild, parent, true);
|
||||
}
|
||||
|
||||
removeChild(parent: any, oldChild: any): void {
|
||||
this.engine.onRemove(this.namespaceId, oldChild, this.delegate);
|
||||
removeChild(parent: any, oldChild: any, isHostElement: boolean): void {
|
||||
this.engine.onRemove(this.namespaceId, oldChild, this.delegate, isHostElement);
|
||||
}
|
||||
|
||||
selectRootElement(selectorOrNode: any, preserveContent?: boolean) {
|
||||
|
Reference in New Issue
Block a user