@oliasoft-open-source/react-ui-library 4.17.0-beta-2 → 4.17.0-beta-3

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
@@ -52136,7 +52136,7 @@ const TableScrollWrapper = ({
52136
52136
  }) => {
52137
52137
  var _a2, _b;
52138
52138
  if (!table2.infiniteScroll) {
52139
- return /* @__PURE__ */ jsx("div", { id: "scrollWrapper", className: styles$b.scroll, children: /* @__PURE__ */ jsx("div", { className: styles$b.virtualRows, children: children({}) }) });
52139
+ return /* @__PURE__ */ jsx("div", { id: "scrollWrapper", className: styles$b.scroll, children: children({}) });
52140
52140
  }
52141
52141
  const containerRef = useRef(null);
52142
52142
  const MIN_ITEM_HEIGHT = 31;
@@ -52153,9 +52153,10 @@ const TableScrollWrapper = ({
52153
52153
  const paddingBottom = items.length > 0 ? virtualizer.getTotalSize() - items[items.length - 1].end : 0;
52154
52154
  const tableStyle = {
52155
52155
  "--virtualPaddingTop": paddingTop + "px",
52156
- "--virtualPaddingBottom": paddingBottom + "px"
52156
+ "--virtualPaddingBottom": paddingBottom + "px",
52157
+ height: totalHeight
52157
52158
  };
52158
- return /* @__PURE__ */ jsx("div", { id: "scrollWrapper", className: styles$b.scroll, ref: containerRef, children: /* @__PURE__ */ jsx("div", { className: styles$b.virtualRows, style: { height: totalHeight }, children: children({ virtualizer, tableStyle }) }) });
52159
+ return /* @__PURE__ */ jsx("div", { id: "scrollWrapper", className: styles$b.scroll, ref: containerRef, children: children({ virtualizer, tableStyle }) });
52159
52160
  };
52160
52161
  const Table = (props) => {
52161
52162
  var _a2, _b, _c, _d, _e2, _f, _g;