@oliasoft-open-source/react-ui-library 4.18.0-beta-9 → 4.18.0-beta-11

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
@@ -14710,7 +14710,7 @@ const List = ({
14710
14710
  const virtualizer = useVirtualizer({
14711
14711
  count: list2.items.length,
14712
14712
  getScrollElement: () => listContainerRef.current,
14713
- estimateSize: () => estimateItemHeight(),
14713
+ estimateSize: useCallback(estimateItemHeight, []),
14714
14714
  overscan: 5
14715
14715
  });
14716
14716
  const findFirstActiveItemIndex = (items) => items.findIndex((item2) => item2.active === true);