Merge pull request #13218 from maxunbearable/fix/6043-show-help-error
Fixed early updatePosition call to prevent CDK overlay crash in matSuffix context
This commit is contained in:
		
						commit
						5497d65171
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user