Packages

@tanstack/virtual-core

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

Your version

3.17.2

26 Jun 2026Where it was published

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 scrollOffset in applyScrollAdjustment so end-anchored streaming resize isn't lost to browser clamp

    With anchorTo: 'end' and a dynamically growing last item (token streaming), resizeItem writes the scroll adjustment to scrollTop before the consumer has grown the sizer, so the browser clamps the write and no scroll event fires. scrollOffset stayed stale, the next tick's wasAtEnd check failed, and the viewport drifted away from the end. This fix carries the intended target in scrollOffset (zeroing scrollAdjustments) the same way the prepend path in setOptions does, so the next getVirtualDistanceFromEnd() 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.