@ninebone/table 0.0.502 → 0.0.504
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-table.js
CHANGED
|
@@ -369,7 +369,9 @@ const $e = class $e {
|
|
|
369
369
|
A(this, "refresh", /* @__PURE__ */ h(() => {
|
|
370
370
|
P.log("rowManager.refresh");
|
|
371
371
|
const i = t(this, S).querySelector(".ng-container-body .ng-part-body");
|
|
372
|
-
i && (t(this, St).call(this),
|
|
372
|
+
i && (t(this, St).call(this), setTimeout(() => {
|
|
373
|
+
t(this, lt).call(this, i.scrollTop);
|
|
374
|
+
}));
|
|
373
375
|
}, "refresh"));
|
|
374
376
|
A(this, "initialize", /* @__PURE__ */ h(() => {
|
|
375
377
|
y(this, M, null), t(this, z).clear(), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((o) => {
|
|
@@ -526,7 +528,7 @@ const $e = class $e {
|
|
|
526
528
|
if (!g) return;
|
|
527
529
|
const m = g.querySelector(".ng-part-body tbody.bindable-tbody");
|
|
528
530
|
m && (m.style.transform = `translateY(${o}px)`);
|
|
529
|
-
}), P.log("#handleScroll", f, n), [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((b) => {
|
|
531
|
+
}), P.log("#handleScroll", f, n), f !== n && [".ng-container-body", ".ng-container-left", ".ng-container-right"].forEach((b) => {
|
|
530
532
|
const g = t(this, S).querySelector(b);
|
|
531
533
|
if (!g) return;
|
|
532
534
|
const m = g.querySelector(".ng-part-body tbody.bindable-tbody");
|