diff --git a/ui-ngx/src/app/shared/components/popover.component.ts b/ui-ngx/src/app/shared/components/popover.component.ts index 6dc4dab12a..0627617241 100644 --- a/ui-ngx/src/app/shared/components/popover.component.ts +++ b/ui-ngx/src/app/shared/components/popover.component.ts @@ -472,7 +472,9 @@ export class TbPopoverComponent implements OnDestroy, OnInit { set tbOverlayStyle(value: { [klass: string]: any }) { this._tbOverlayStyle = value; - this.cdr.detectChanges(); + if (this.popover) { + this.cdr.detectChanges(); + } } get tbOverlayStyle(): { [klass: string]: any } {