@sustaina/shared-ui 1.70.4 → 1.70.5
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9518,7 +9518,7 @@ var useTableVirtualizer = ({
|
|
|
9518
9518
|
virtual
|
|
9519
9519
|
}) => {
|
|
9520
9520
|
const rowModel = table.getRowModel().rows;
|
|
9521
|
-
const columnsEnabled = virtual?.columns?.enabled ??
|
|
9521
|
+
const columnsEnabled = enabled && (virtual?.columns?.enabled ?? true);
|
|
9522
9522
|
const centerColumns = table.getCenterVisibleLeafColumns();
|
|
9523
9523
|
const getRowVirtualItemKey = React.useCallback((index) => rowModel[index]?.id ?? index, [rowModel]);
|
|
9524
9524
|
const getColumnVirtualItemKey = React.useCallback(
|