@ninebone/grid 0.0.127 → 0.0.128

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.
package/dist/nine-grid.js CHANGED
@@ -28576,8 +28576,8 @@ class nf extends HTMLElement {
28576
28576
  let o = f(this, gi).call(this);
28577
28577
  var r = t.clientY - this.shiftY;
28578
28578
  r < 0 && (r = 0), r + this.thumbHeight > c && (r = parseInt(c - o));
28579
- var n = parseInt($(".ng-container-body tbody.bindable tr", f(this, Pt).body).not(".nodata").length / f(this, Pt).template.length), s = parseInt(r * (f(this, Pt).data.count() + 1 - n) / parseInt(c - o)), e = f(this, Pt).matrix.getTotalHeight() - this.bodyHeight, i = c - o, u = i > 0 ? e / i : 0, a = l * u;
28580
- if (Fl.log(e, i, u, a), f(this, Pt).dataManager.viewRecords.rawIndex != s)
28579
+ var n = parseInt($(".ng-container-body tbody.bindable tr", f(this, Pt).body).not(".nodata").length / f(this, Pt).template.length), s = parseInt(r * (f(this, Pt).data.count() + 1 - n) / parseInt(c - o)), e = Math.max(0, c - o), i = Math.max(0, f(this, Pt).matrix.getTotalHeight() - this.bodyHeight), u = f(this, Pt).matrix.getHeight(0), a = i > 0 ? u * (e / i) : 0;
28580
+ if (Fl.log("첫 번째 행 높이:", u, "필요한 트랙 이동 거리(yDelta):", a), f(this, Pt).dataManager.viewRecords.rawIndex != s)
28581
28581
  f(this, Pt).scrollToV2(s), tt(this, $r, 0), qe(this, Cn, Hl).call(this, 0);
28582
28582
  else {
28583
28583
  Fl.log(r * (f(this, Pt).data.count() + 1 - n) / parseInt(c - o));