MOBILE-4164 core: Remove core-fab on destroy
parent
153c8a6d02
commit
846cd01f67
|
@ -76,6 +76,8 @@ export class CoreFabDirective implements OnInit, OnDestroy {
|
|||
* @inheritdoc
|
||||
*/
|
||||
ngOnDestroy(): void {
|
||||
this.element.remove();
|
||||
|
||||
if (this.content) {
|
||||
this.content.style.setProperty('--padding-bottom', this.initialPaddingBottom + 'px');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue