@tanstack/react-virtual
3.14.26 · 3 Nov 2026MIT47.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @tanstack/react-virtual From 3.13.3 to 3.14.26
50 releases in betweenevery note read
Release by release
3.14.15 – 3.14.2612 releases, nothing new or fixed in the notes
- Fixed
react-virtual: Position
directDomUpdatesrows that mount without the owner re-rendering
- Fixed
- Fixed
Skip
flushSyncfor the synchronous notify raised frommeasureElement. React callsmeasureElementfrom a ref callback, i.e. while it is committing, andflushSynccannot flush there — it warns in development instead. The commit phase already runs at discrete (sync) priority, so the update lands in the same lane and the same frame withoutflushSync. Notifies from every other path (ResizeObserver re-measures, scroll adjustments) still flush synchronously.
- Fixed
3.14.9 – 3.14.124 releases, nothing new or fixed in the notes
- Fixed
Fix a gap at the top of the list after an end-anchored prepend in
directDomUpdatesmode. The prepend grows the total size and bumpsscrollOffsetto the new bottom in the same pass, but the size container's height was written after_willUpdatesynced the scroll position — so the browser clamped thescrollTopwrite to the stale (shorter)scrollHeight, leaving whitespace at the top until the next scroll. The container is now grown before the scroll sync. Only affecteddirectDomUpdatesmode (React-rendered sizers receive their height during render).
- Fixed
3.14.4 – 3.14.74 releases, nothing new or fixed in the notes
- Fixed
Make
directDomUpdatesa no-op for direct DOM writes whencontainerRefis omitted. Previously the virtualizer still wrote item positions while never sizing the container (a broken half-state). Now omittingcontainerRefskips all direct writes while still skipping re-renders, letting consumers own the DOM updates themselves (e.g. inonChange).
- Fixed
3.14.1 – 3.14.22 releases, nothing new or fixed in the notes
50 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.