@homebound/beam 2.415.0 → 2.415.1
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.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -14267,7 +14267,8 @@ function renderVirtual(style, id, columns, visibleDataRows, keptSelectedRows, fi
|
|
|
14267
14267
|
}, [style]);
|
|
14268
14268
|
const [fetchMoreInProgress, setFetchMoreInProgress] = (0, import_react74.useState)(false);
|
|
14269
14269
|
const { getScrollIndex, setScrollIndex } = useScrollStorage(id, persistScrollPosition);
|
|
14270
|
-
const
|
|
14270
|
+
const savedScrollIndex = getScrollIndex();
|
|
14271
|
+
const initialScrollIndex = !!savedScrollIndex && visibleDataRows.length > 0 && savedScrollIndex < visibleDataRows.length ? savedScrollIndex : void 0;
|
|
14271
14272
|
const topItemCount = stickyHeader ? tableHeadRows.length : 0;
|
|
14272
14273
|
return /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
|
|
14273
14274
|
import_react_virtuoso2.Virtuoso,
|