Browse Source

Merge pull request #13218 from maxunbearable/fix/6043-show-help-error

Fixed early updatePosition call to prevent CDK overlay crash in matSuffix context
pull/13228/head
Igor Kulikov 1 year ago
committed by GitHub
parent
commit
5497d65171
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      ui-ngx/src/app/shared/components/popover.component.ts

4
ui-ngx/src/app/shared/components/popover.component.ts

@ -472,7 +472,9 @@ export class TbPopoverComponent<T = any> 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 } {

Loading…
Cancel
Save