@tanstack/virtual-core
3.19.11 · 3 Nov 2026MIT56.2M / weekRepositoryHomepagenpmAtom feed
3.19.11 is the newest release of 3.x.
In short
1 fixed
Release note
Patch Changes
Stop the default scroll-adjustment heuristic from drifting the viewport when a viewport-spanning item grows. Previously any item whose top sat above the fold (
itemStart < scrollOffset) had its size delta compensated on every re-measure — including a streaming chat message that spans the fold and grows at its bottom, draggingscrollTopdownward token by token (#1218). Re-measurements now only compensate items that are entirely above the fold (itemStart + itemSize <= scrollOffset); growth below the anchor point leaves the scroll position untouched. First measurements (estimate→actual) still compensate any above-fold item, and a customshouldAdjustScrollPositionOnItemSizeChangestill overrides the default.
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.