Merge pull request #3418 from NoelDeMartin/MOBILE-4164
MOBILE-4164 core: Remove core-fab on destroymain
commit
88ded02d7c
|
@ -76,6 +76,8 @@ export class CoreFabDirective implements OnInit, OnDestroy {
|
||||||
* @inheritdoc
|
* @inheritdoc
|
||||||
*/
|
*/
|
||||||
ngOnDestroy(): void {
|
ngOnDestroy(): void {
|
||||||
|
this.element.remove();
|
||||||
|
|
||||||
if (this.content) {
|
if (this.content) {
|
||||||
this.content.style.setProperty('--padding-bottom', this.initialPaddingBottom + 'px');
|
this.content.style.setProperty('--padding-bottom', this.initialPaddingBottom + 'px');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue