@ninebone/table 0.0.487 → 0.0.489

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.
@@ -520,13 +520,13 @@ const Me = class Me {
520
520
  var u;
521
521
  const e = t(this, M);
522
522
  if (!e || e <= 0) return;
523
- const r = (t(this, D).data.get() || []).length, n = Math.max(0, Math.floor(i / e)), o = n * e, a = ((u = t(this, z).get(".ng-container-body")) == null ? void 0 : u.length) || 1, c = t(this, S).querySelector(".ng-container-body"), l = c == null ? void 0 : c.querySelector(".ng-part-body tbody.bindable-tbody tr:not(.nodata)"), f = l && l.dataset.row !== void 0 ? parseInt(l.dataset.row, 10) : 0;
523
+ const r = (t(this, D).data.get() || []).length, n = Math.max(0, Math.floor(i / e)), o = n * e, a = ((u = t(this, z).get(".ng-container-body")) == null ? void 0 : u.length) || 1, c = t(this, S).querySelector(".ng-container-body"), l = c == null ? void 0 : c.querySelector(".ng-part-body tbody.bindable-tbody tr:not(.nodata)"), f = l && l.dataset.row !== void 0 ? parseInt(l.dataset.row, 10) : -1;
524
524
  [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((b) => {
525
525
  const g = t(this, S).querySelector(b);
526
526
  if (!g) return;
527
527
  const m = g.querySelector(".ng-part-body tbody.bindable-tbody");
528
528
  m && (m.style.transform = `translateY(${o}px)`);
529
- }), U.log("#handleScroll", f, n), f !== n && [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((b) => {
529
+ }), U.log("#handleScroll", f, n), (f === -1 || f !== n) && [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((b) => {
530
530
  const g = t(this, S).querySelector(b);
531
531
  if (!g) return;
532
532
  const m = g.querySelector(".ng-part-body tbody.bindable-tbody");