@masterteam/components 0.0.283 → 0.0.285

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.
@@ -2151,6 +2151,16 @@ class Table {
2151
2151
  if (!this.virtualScroll()) {
2152
2152
  return false;
2153
2153
  }
2154
+ // Never virtualize a grouped table. PrimeNG emits its group subheaders
2155
+ // while walking the rendered rows, so a virtual scroller — which renders
2156
+ // only the window around the viewport — drops and re-emits headers as the
2157
+ // user scrolls: a group's header vanishes above the fold and the same
2158
+ // value sprouts a fresh header further down. A grouped table is bounded by
2159
+ // design (grouping buckets the rows it holds, so it is never the
2160
+ // backend-paged case), which is what makes rendering all of them safe.
2161
+ if (this.grouping.groupingActive()) {
2162
+ return false;
2163
+ }
2154
2164
  const rowCount = this.displayData().length;
2155
2165
  if (rowCount === 0) {
2156
2166
  return false;