@ninebone/grid 0.0.98 → 0.0.100

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
@@ -28570,13 +28570,13 @@ class nf extends HTMLElement {
28570
28570
  if (!f(this, Ur)) return;
28571
28571
  t.preventDefault();
28572
28572
  var l = t.clientY - f(this, Hs);
28573
- tt(this, Hs, t.clientY), f(this, Sn) && (H.j.querySelectorAll("th,td", f(this, Dt).body).removeClass("active").removeClass("multi-selected").removeClass("selected").removeClass("selected-current").removeClass("selected-area").removeClass("selected-top").removeClass("selected-bottom").removeClass("selected-left").removeClass("selected-right"), tt(this, Sn, !1));
28573
+ f(this, Sn) && (H.j.querySelectorAll("th,td", f(this, Dt).body).removeClass("active").removeClass("multi-selected").removeClass("selected").removeClass("selected-current").removeClass("selected-area").removeClass("selected-top").removeClass("selected-bottom").removeClass("selected-left").removeClass("selected-right"), tt(this, Sn, !1));
28574
28574
  var c = this.trackHeight;
28575
28575
  let o = f(this, gi).call(this);
28576
28576
  var r = t.clientY - this.shiftY;
28577
28577
  r < 0 && (r = 0), r + this.thumbHeight > c && (r = parseInt(c - o));
28578
28578
  var n = parseInt($(".ng-container-body tbody.bindable tr", f(this, Dt).body).not(".nodata").length / f(this, Dt).template.length), s = parseInt(r * (f(this, Dt).data.count() + 1 - n) / parseInt(c - o)), e = l;
28579
- ld.log(t, l), tt(this, rs, e), He(this, _a, iu).call(this, f(this, rs)), f(this, Dt).dataManager.viewRecords.rawIndex != s && f(this, Dt).scrollToV2(s);
28579
+ tt(this, rs, e), ld.log(t.clientY, f(this, Hs), this.bodyTop, l), He(this, _a, iu).call(this, f(this, rs)), f(this, Dt).dataManager.viewRecords.rawIndex != s && f(this, Dt).scrollToV2(s);
28580
28580
  });
28581
28581
  Y(this, yu, (t) => {
28582
28582
  if (f(this, Ur)) {