igniteui-angular 21.2.13 → 21.2.14

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.
@@ -3683,7 +3683,12 @@ class IgxGridBaseDirective {
3683
3683
  this.summaryService.clearSummaryCache(args);
3684
3684
  });
3685
3685
  this.subscribeToTransactions();
3686
- this.scrollNotify.pipe(filter(() => !this._init), throttle(() => this.throttleTime$.pipe(take(1), switchMap(time => timer(time, this.throttleScheduler)))), destructor)
3686
+ this.scrollNotify.pipe(filter(() => !this._init), throttle(() => this.throttleTime$.pipe(take(1), switchMap(time => timer(time, this.throttleScheduler))),
3687
+ // `trailing: true` ensures the final settle position of a fast momentum
3688
+ // scroll is processed; otherwise the last scroll events are dropped and the
3689
+ // rows stay frozen at an intermediate startIndex while the scrollbar is at top.
3690
+ // `leading: true` keeps the immediate response on scroll start.
3691
+ { leading: true, trailing: true }), destructor)
3687
3692
  .subscribe((event) => {
3688
3693
  this.verticalScrollHandler(event);
3689
3694
  });
@@ -7196,6 +7201,9 @@ class IgxGridBaseDirective {
7196
7201
  if (colResized) {
7197
7202
  this.resetCachedWidths();
7198
7203
  this.cdr.detectChanges();
7204
+ // Rebuild master's sizesCache once from updated calcPixelWidth values
7205
+ this.headerContainer.resolveDataDiff();
7206
+ this._horizontalForOfs.forEach(vfor => vfor.resolveDataDiff());
7199
7207
  }
7200
7208
  if (this.isColumnWidthSum) {
7201
7209
  this.calcWidth = this.getColumnWidthSum();