@economic/taco 2.67.1-footer-fix.1 → 2.67.1-footer-fix.2
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/taco.cjs +1 -10
- package/dist/taco.cjs.map +1 -1
- package/dist/taco.js +1 -10
- package/dist/taco.js.map +1 -1
- package/package.json +2 -2
package/dist/taco.js
CHANGED
@@ -35546,7 +35546,7 @@ function configureReactTableOptions(options, props, localization) {
|
|
35546
35546
|
if (originalRow) {
|
35547
35547
|
return String(originalRow[props.rowIdentityAccessor]);
|
35548
35548
|
}
|
35549
|
-
return
|
35549
|
+
return String(index2);
|
35550
35550
|
};
|
35551
35551
|
}
|
35552
35552
|
const tableOptions = {
|
@@ -37862,8 +37862,6 @@ function useTableRenderer(renderers, table, tableRef, length, defaultRowActiveIn
|
|
37862
37862
|
});
|
37863
37863
|
const expandedState = table.getState().expanded;
|
37864
37864
|
const previousExpandedStateRef = React__default.useRef(false);
|
37865
|
-
const sortingState = table.getState().sorting;
|
37866
|
-
const previousSortingStateRef = React__default.useRef(JSON.stringify(sortingState));
|
37867
37865
|
React__default.useEffect(() => {
|
37868
37866
|
const isEmpty = JSON.stringify(expandedState) === "{}";
|
37869
37867
|
if (expandedState === true || isEmpty && previousExpandedStateRef.current === true) {
|
@@ -37871,13 +37869,6 @@ function useTableRenderer(renderers, table, tableRef, length, defaultRowActiveIn
|
|
37871
37869
|
virtualiser.measure();
|
37872
37870
|
}
|
37873
37871
|
}, [expandedState]);
|
37874
|
-
React__default.useEffect(() => {
|
37875
|
-
const currentSortingString = JSON.stringify(sortingState);
|
37876
|
-
if (currentSortingString !== previousSortingStateRef.current) {
|
37877
|
-
previousSortingStateRef.current = currentSortingString;
|
37878
|
-
virtualiser.measure();
|
37879
|
-
}
|
37880
|
-
}, [sortingState]);
|
37881
37872
|
const totalSize = virtualiser.getTotalSize();
|
37882
37873
|
const virtualItems = virtualiser.getVirtualItems();
|
37883
37874
|
const scrollToIndex = React__default.useCallback(
|