Skip to content

@tanstack/virtual-core@3.19.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 12:45
· 1 commit to main since this release
Immutable release. Only release title and notes can be modified.
84c1502

Minor Changes

  • #1302 92c697f - fix(virtual-core): keep lanes aligned after changing lanes with measureElement (#1036)
    • overscan now counts whole rows when lanes > 1, so every lane renders (and measures) the same number of extra items. This renders more items than before: lanes: 4, overscan: 2 now adds 8 items on each side instead of 2. Range gains an optional lanes field that defaultRangeExtractor reads; a custom rangeExtractor gets row overscan only if it delegates to defaultRangeExtractor.
    • A ResizeObserver callback now measures all of its entries before notifying, so a synchronous re-render can no longer unmount part of a row before it is measured.

Patch Changes

  • #1305 28a2174 - fix(virtual-core): don't replay iOS-deferred size corrections after an in-flight scrollToIndex lands