MOBILE-3833 core: Remove element on destroy
Angular usually removes elements, but in the collapsible-footer it needs to be done manually because it was moved to a different container
This commit is contained in:
parent
e7eac8f0d9
commit
49b4d13e9a
@ -254,6 +254,7 @@ export class CoreCollapsibleFooterDirective implements OnInit, OnDestroy {
|
||||
this.page.removeEventListener('ionViewDidEnter', this.pageDidEnterListener);
|
||||
}
|
||||
|
||||
this.element?.remove();
|
||||
this.resizeListener?.off();
|
||||
this.slotPromise?.cancel();
|
||||
this.viewportPromise?.cancel();
|
||||
|
Loading…
x
Reference in New Issue
Block a user