monkey-style-guide 21.2.10 → 21.2.12

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.
@@ -11448,7 +11448,6 @@ const DEFAULT_ROW_HEIGHT = 65;
11448
11448
  const DEFAULT_MAX_VISIBLE_ROWS = 20;
11449
11449
  const DEFAULT_SKELETON_ROWS = 5;
11450
11450
  const WINDOW_BUFFER = 6;
11451
- const VIRTUAL_SCREENFULS = 3;
11452
11451
  const VIRTUAL_MIN_ROWS = 19;
11453
11452
  class MonkeyTableComponent {
11454
11453
  constructor() {
@@ -11583,7 +11582,7 @@ class MonkeyTableComponent {
11583
11582
  this.virtual = computed(() => {
11584
11583
  if (this.virtualScroll() === 'off' || !this.bounded() || this.loading())
11585
11584
  return false;
11586
- const threshold = Math.max(this._rowCap() * VIRTUAL_SCREENFULS, VIRTUAL_MIN_ROWS);
11585
+ const threshold = Math.max(this._rowCap(), VIRTUAL_MIN_ROWS);
11587
11586
  return this.rowViews().length > threshold;
11588
11587
  }, ...(ngDevMode ? [{ debugName: "virtual" }] : /* istanbul ignore next */ []));
11589
11588
  this.effectiveHeight = computed(() => {