cps-ui-kit 0.139.0 → 0.140.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5871,6 +5871,7 @@ class CpsTreeTableComponent {
5871
5871
  wScroll -= 1;
5872
5872
  this.renderer.setStyle(this._headerBox, 'padding-right', `${wScroll}px`);
5873
5873
  this.renderer.setStyle(this._headerBox, 'border-right', wScroll > 0 ? '1px solid #d7d5d5' : 'unset');
5874
+ this._calcAutoLayoutHeaderWidths();
5874
5875
  });
5875
5876
  });
5876
5877
  }
@@ -5968,8 +5969,10 @@ class CpsTreeTableComponent {
5968
5969
  this.cdRef.detectChanges();
5969
5970
  }
5970
5971
  if (!this.virtualScrollItemSize) {
5971
- this._recalcVirtualHeight();
5972
- this.cdRef.detectChanges();
5972
+ setTimeout(() => {
5973
+ this._recalcVirtualHeight();
5974
+ this.cdRef.detectChanges();
5975
+ });
5973
5976
  }
5974
5977
  }
5975
5978
  ngOnChanges(changes) {