igniteui-angular 15.1.25 → 15.1.26

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.
@@ -66730,7 +66730,6 @@ class IgxGridBaseDirective extends DisplayDensityBase {
66730
66730
  computedWidth = this.calcWidth ||
66731
66731
  parseInt(this.document.defaultView.getComputedStyle(this.nativeElement).getPropertyValue('width'), 10);
66732
66732
  }
66733
- computedWidth -= this.featureColumnsWidth();
66734
66733
  const visibleChildColumns = this.visibleColumns.filter(c => !c.columnGroup);
66735
66734
  // Column layouts related
66736
66735
  let visibleCols = [];
@@ -66761,6 +66760,7 @@ class IgxGridBaseDirective extends DisplayDensityBase {
66761
66760
  if (!sumExistingWidths && !columnsToSize) {
66762
66761
  return '0px';
66763
66762
  }
66763
+ computedWidth -= this.featureColumnsWidth();
66764
66764
  const columnWidth = Math.floor(!Number.isFinite(sumExistingWidths) ?
66765
66765
  Math.max(computedWidth / columnsToSize, this.minColumnWidth) :
66766
66766
  Math.max((computedWidth - sumExistingWidths) / columnsToSize, this.minColumnWidth));
@@ -68003,8 +68003,8 @@ class IgxGridBaseDirective extends DisplayDensityBase {
68003
68003
  sizing process which of course, uses values from the caches, thus resulting
68004
68004
  in a broken layout.
68005
68005
  */
68006
- this.resetCaches(recalcFeatureWidth);
68007
68006
  this.cdr.detectChanges();
68007
+ this.resetCaches(recalcFeatureWidth);
68008
68008
  const hasScroll = this.hasVerticalScroll();
68009
68009
  this.calculateGridWidth();
68010
68010
  this.resetCaches(recalcFeatureWidth);