Packages

@tanstack/virtual-core

3.19.11 · 3 Nov 2026MIT56.2M / weekRepositoryHomepagenpmAtom feed

Your version

3.18.0

9 Oct 2026Where it was published

3.19.11 is the newest release of 3.x.

In short

1 new3 fixed

Release note

Minor Changes

  • virtual-core: Add cancelScroll() to stop an in-flight scrollToIndex / scrollToOffset / scrollBy / scrollToEnd from correcting toward its target, so a user gesture can take over the viewport

Patch Changes

  • Fix scrollToIndex(last, { align: 'end' }) overshooting the last item by paddingEnd; it now respects scrollPaddingEnd like other end-aligned items. To scroll to the very bottom including paddingEnd, use scrollToEnd().

  • virtual-core: Don't cache a 0 size when measureElement receives a node that isn't attached to the document yet

  • Keep scrollToIndex reconciliation active until pending ResizeObserver measurements can update its target, including when useAnimationFrameWithResizeObserver is enabled. Respect an external scroll away from a reached target during this settling period.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.