@tanstack/virtual-core
3.19.11 · 3 Nov 2026MIT56.2M / weekRepositoryHomepagenpmAtom feed
3.19.11 is the newest release of 3.x.
In short
2 fixed
Release note
Patch Changes
Skip redundant scroll events at unchanged offset
Sync
scrollOffsetinapplyScrollAdjustmentso end-anchored streaming resize isn't lost to browser clampWith
anchorTo: 'end'and a dynamically growing last item (token streaming),resizeItemwrites the scroll adjustment toscrollTopbefore the consumer has grown the sizer, so the browser clamps the write and no scroll event fires.scrollOffsetstayed stale, the next tick'swasAtEndcheck failed, and the viewport drifted away from the end. This fix carries the intended target inscrollOffset(zeroingscrollAdjustments) the same way the prepend path insetOptionsdoes, so the nextgetVirtualDistanceFromEnd()reads the post-adjustment position.
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.