@tanstack/virtual-core
3.19.11 · 3 Nov 2026MIT56.2M / weekRepositoryHomepagenpmAtom feed
Upgrading @tanstack/virtual-core From 3.14.0 to 3.19.11
28 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- Fixed
virtual-core: Compute
getOffsetForIndex(and the first write ofscrollToIndex) from the current measurements, not from those of the last render - Fixed
Fix programmatic scrolling in horizontal RTL elements by converting logical offsets, including measurement adjustments, to negative DOM scroll offsets.
- Fixed
- Fixed
Keep a full viewport of rows in the range when the scroll offset is past the end of the list, as it is after the list shrinks and before the element reports its clamped position.
- Fixed
- Fixed
virtual-core: Stop a touch fling for a command issued during it on Android too
- Fixed
Avoid ResizeObserver loop errors when a synchronous resize render mounts or unmounts rows. Measure new rows immediately, defer their observation until the next frame, and stop observing detached rows before delivery ends.
- Fixed
- Fixed
virtual-core: Account for scrollMargin when deciding the viewport is at the end
- Fixed
- Fixed
virtual-core: Cancel stale anchor work on explicit scroll
- Fixed
virtual-core: Hold a clamped compensation retry while a touch owns the scroll
- Fixed
- Fixed
Measure the scroll viewport using client dimensions so borders and scrollbars do not obscure end-aligned items.
- Fixed
- Fixed
virtual-core: Keep an instant scroll command clamped at a max the sizer committed outside a row resize
- Fixed
virtual-core: Keep an instant scroll command when the browser clamps its write before rows grow back
- Fixed
virtual-core: Scroll commands and corrections that stalled or were lost
- Fixed
virtual-core: On iOS 27 and later, a scroll command issued during a fling takes effect at once
- Fixed
virtual-core: On iOS, defer scroll corrections only for touch-driven scrolls (a finger down, or the momentum after it), so a programmatic landing like
scrollToOffsetcompensates before paint instead of snapping later - Fixed
virtual-core: Hold a scroll correction the element cannot take instead of writing it
- Fixed
- Fixed
virtual-core: With
useAnimationFrameWithResizeObserver, request frames from the scroll element's window instead of the global one, and cancel frames still queued on cleanup, so a list rendered into another window does not stall while the opener is minimized or occluded
- Fixed
4 internal lines (docs, tests, tooling) left out.
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.