Skip to content

react-virtuoso@4.18.15

Choose a tag to compare

@github-actions github-actions released this 22 Sep 18:23
· 45 commits to main since this release
efb21c7

Patch Changes

  • #1461 364c071 Thanks @aehmt! - Fixed "Zero-sized element, this should not happen" error when initialItemCount exceeds the available data. The initial list state builder now clamps the item count to the data remaining after initialTopMostItemIndex, and renders no items when data is explicitly empty, preventing phantom items with undefined data from being rendered. initialItemCount also became a reactive input of the list state computation, so changing it after mount recomputes the list instead of leaving stale state until an unrelated update.