Merge pull request #3249 from NoelDeMartin/MOBILE-3833
MOBILE-3833 core: Remove element on destroymain
commit
a08260d180
|
@ -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…
Reference in New Issue