Packages

@tanstack/virtual-core

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

Upgrading @tanstack/virtual-core From 3.17.11 to 3.18.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 3.17.11Newest 3.x, Latest3.19.11
  1. 3.17.11yours
  2. 3.18.0target
0
changes to make
0
advisories fixed
1
new
3
fixes

Release by release

  1. 3.18.0

    9 Oct 20261 new · 3 fixes
    • New

      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

    • Fixed

      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().

    • Fixed

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

    • Fixed

      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.