github petyosi/react-virtuoso react-virtuoso@4.18.9

latest releases: react-virtuoso@4.18.24, @virtuoso.dev/data-table@0.6.4, react-virtuoso@4.18.23...
5 months ago

Patch Changes

  • #1444 0c68e81 Thanks @Luccas-carvalho! - Harden scroll-target and initial-index handling:
    • Clamp the initial top-most item index to the available range, so an out-of-range initialTopMostItemIndex (for example after the data set shrinks) no longer starts the list at a blank or mid-list position.
    • Stop mutating the location object passed to scrollToIndex; normalizeIndexLocation now applies its defaults to a shallow copy.
    • Treat a default-positioned initialTopMostItemIndex of { index: 0 } the same as 0, avoiding a redundant initial scroll and a delayed followOutput.

Don't miss a new react-virtuoso release

NewReleases is sending notifications on new releases.