Packages

@tanstack/virtual-core

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

Upgrading @tanstack/virtual-core From 3.17.4 to 3.17.5

1 release in betweenevery note read

Reading releases, release notes and advisories…

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

Release by release

  1. 3.17.5

    20 Jul 20263 fixes
    • Fixed

      Clamp the tracked scrollOffset at 0 when applying end-anchor measurement compensation and when re-anchoring in setOptions. Previously, with anchorTo: 'end' and content shorter than the viewport, items measuring smaller than their estimates drove the tracked offset negative with no scroll event to ever correct it — getDistanceFromEnd() reported a permanent phantom distance and iOS deferred measurement corrections stayed wedged forever.

    • Fixed

      Absolute scroll commands (scrollToOffset / scrollToIndex / scrollToEnd) derive their target from current measurements, so a pending deferred delta is already stale — it now invalidates the deferral instead of letting it replay and shift the list off the just-established position. Relative commands (scrollBy) keep the deferral.

    • Fixed

      At the end clamp with anchorTo: 'end', a row above the viewport re-measuring smaller lets the browser clamp scrollTop onto the new bottom (already the correct position); the flush now drops the stale negative compensation instead of replaying it and lifting the view off the bottom. Positive deltas still replay, since content growth above does not clamp.

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.