@equinor/apollo-components 3.1.3 → 3.1.4

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 CHANGED
@@ -932,6 +932,7 @@ var PaddingRow = (props) => {
932
932
  if (!props.height)
933
933
  return null;
934
934
  return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_eds_core_react17.Table.Row, {
935
+ style: { pointerEvents: "none" },
935
936
  children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_eds_core_react17.Table.Cell, {
936
937
  style: { height: `${props.height}px` }
937
938
  })
@@ -954,7 +955,7 @@ function VirtualTable({
954
955
  estimateSize: () => 48,
955
956
  getScrollElement: () => containerRef.current,
956
957
  measureElement: (element) => element == null ? void 0 : element.getBoundingClientRect().height,
957
- overscan: 5
958
+ overscan: 20
958
959
  });
959
960
  const virtualRows = rowVirtualizer.getVirtualItems();
960
961
  const paddingTop = virtualRows.length > 0 ? ((_a = virtualRows == null ? void 0 : virtualRows[0]) == null ? void 0 : _a.start) || 0 : 0;
package/dist/index.mjs CHANGED
@@ -889,6 +889,7 @@ var PaddingRow = (props) => {
889
889
  if (!props.height)
890
890
  return null;
891
891
  return /* @__PURE__ */ jsx17(Table8.Row, {
892
+ style: { pointerEvents: "none" },
892
893
  children: /* @__PURE__ */ jsx17(Table8.Cell, {
893
894
  style: { height: `${props.height}px` }
894
895
  })
@@ -911,7 +912,7 @@ function VirtualTable({
911
912
  estimateSize: () => 48,
912
913
  getScrollElement: () => containerRef.current,
913
914
  measureElement: (element) => element == null ? void 0 : element.getBoundingClientRect().height,
914
- overscan: 5
915
+ overscan: 20
915
916
  });
916
917
  const virtualRows = rowVirtualizer.getVirtualItems();
917
918
  const paddingTop = virtualRows.length > 0 ? ((_a = virtualRows == null ? void 0 : virtualRows[0]) == null ? void 0 : _a.start) || 0 : 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/apollo-components",
3
- "version": "3.1.3",
3
+ "version": "3.1.4",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",