@equinor/apollo-components 3.1.3-beta.1 → 3.1.3-beta.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/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -954,7 +954,7 @@ function VirtualTable({
|
|
|
954
954
|
estimateSize: () => 48,
|
|
955
955
|
getScrollElement: () => containerRef.current,
|
|
956
956
|
measureElement: (element) => element == null ? void 0 : element.getBoundingClientRect().height,
|
|
957
|
-
overscan:
|
|
957
|
+
overscan: 20
|
|
958
958
|
});
|
|
959
959
|
const virtualRows = rowVirtualizer.getVirtualItems();
|
|
960
960
|
const paddingTop = virtualRows.length > 0 ? ((_a = virtualRows == null ? void 0 : virtualRows[0]) == null ? void 0 : _a.start) || 0 : 0;
|
package/dist/index.mjs
CHANGED
|
@@ -911,7 +911,7 @@ function VirtualTable({
|
|
|
911
911
|
estimateSize: () => 48,
|
|
912
912
|
getScrollElement: () => containerRef.current,
|
|
913
913
|
measureElement: (element) => element == null ? void 0 : element.getBoundingClientRect().height,
|
|
914
|
-
overscan:
|
|
914
|
+
overscan: 20
|
|
915
915
|
});
|
|
916
916
|
const virtualRows = rowVirtualizer.getVirtualItems();
|
|
917
917
|
const paddingTop = virtualRows.length > 0 ? ((_a = virtualRows == null ? void 0 : virtualRows[0]) == null ? void 0 : _a.start) || 0 : 0;
|