diff --git a/src/core/directives/fab.ts b/src/core/directives/fab.ts index fe18f8274..d8745f26a 100644 --- a/src/core/directives/fab.ts +++ b/src/core/directives/fab.ts @@ -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'); }