@infinite-table/infinite-react 6.2.7 → 6.2.9
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/index.dev.js +8 -2
- package/index.dev.mjs +8 -2
- package/index.js +2 -2
- package/index.mjs +2 -2
- package/package.json +2 -2
package/index.dev.js
CHANGED
|
@@ -5484,6 +5484,9 @@ function HeadlessTable(props) {
|
|
|
5484
5484
|
requestAnimationFrame(() => {
|
|
5485
5485
|
const scrollVarHost = scrollVarHostRef?.current;
|
|
5486
5486
|
if (!scrollVarHost) {
|
|
5487
|
+
if (!domRef.current) {
|
|
5488
|
+
return;
|
|
5489
|
+
}
|
|
5487
5490
|
domRef.current.style.setProperty(
|
|
5488
5491
|
"transform",
|
|
5489
5492
|
`translate3d(${-scrollPos.scrollLeft}px, ${-scrollPos.scrollTop}px, 0px)`
|
|
@@ -12668,7 +12671,10 @@ function flattenTreeNodes(dataArray, parentPath, parents, indexInParentNodes, pa
|
|
|
12668
12671
|
expanded = false;
|
|
12669
12672
|
}
|
|
12670
12673
|
rowInfo.nodeExpanded = expanded;
|
|
12671
|
-
if (
|
|
12674
|
+
if (
|
|
12675
|
+
// expanded &&
|
|
12676
|
+
parentExpanded && repeatWrappedGroupRows && rowsPerPage != null && rowsPerPage > 0
|
|
12677
|
+
) {
|
|
12672
12678
|
const indexInAll = rowInfo.indexInAll;
|
|
12673
12679
|
const currentParents = rowInfo.parentNodes;
|
|
12674
12680
|
if (currentParents.length > 0 && indexInAll % rowsPerPage === 0) {
|
|
@@ -23594,7 +23600,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
23594
23600
|
}
|
|
23595
23601
|
let valid2 = isValidLicense(licenseKey, {
|
|
23596
23602
|
publishedAt: 1624970570587,
|
|
23597
|
-
version: "6.2.
|
|
23603
|
+
version: "6.2.9"
|
|
23598
23604
|
});
|
|
23599
23605
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
23600
23606
|
return true;
|
package/index.dev.mjs
CHANGED
|
@@ -5425,6 +5425,9 @@ function HeadlessTable(props) {
|
|
|
5425
5425
|
requestAnimationFrame(() => {
|
|
5426
5426
|
const scrollVarHost = scrollVarHostRef?.current;
|
|
5427
5427
|
if (!scrollVarHost) {
|
|
5428
|
+
if (!domRef.current) {
|
|
5429
|
+
return;
|
|
5430
|
+
}
|
|
5428
5431
|
domRef.current.style.setProperty(
|
|
5429
5432
|
"transform",
|
|
5430
5433
|
`translate3d(${-scrollPos.scrollLeft}px, ${-scrollPos.scrollTop}px, 0px)`
|
|
@@ -12617,7 +12620,10 @@ function flattenTreeNodes(dataArray, parentPath, parents, indexInParentNodes, pa
|
|
|
12617
12620
|
expanded = false;
|
|
12618
12621
|
}
|
|
12619
12622
|
rowInfo.nodeExpanded = expanded;
|
|
12620
|
-
if (
|
|
12623
|
+
if (
|
|
12624
|
+
// expanded &&
|
|
12625
|
+
parentExpanded && repeatWrappedGroupRows && rowsPerPage != null && rowsPerPage > 0
|
|
12626
|
+
) {
|
|
12621
12627
|
const indexInAll = rowInfo.indexInAll;
|
|
12622
12628
|
const currentParents = rowInfo.parentNodes;
|
|
12623
12629
|
if (currentParents.length > 0 && indexInAll % rowsPerPage === 0) {
|
|
@@ -23552,7 +23558,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
23552
23558
|
}
|
|
23553
23559
|
let valid2 = isValidLicense(licenseKey, {
|
|
23554
23560
|
publishedAt: 1624970570587,
|
|
23555
|
-
version: "6.2.
|
|
23561
|
+
version: "6.2.9"
|
|
23556
23562
|
});
|
|
23557
23563
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
23558
23564
|
return true;
|