You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bump virtual-core to 3.19.11 and remove the getOffsetForIndex stopgap #7
Replace wwwroot/tanstack-virtual-core.js with the jsDelivr +esm bundle of 3.19.11, and update the README's provenance table (version, SHA-256) and the "Coverage vs." heading.
Re-verify the private surface the interop uses: _willUpdate, _didMount, itemSizeCache, itemSizeCacheVersion, pendingMin.
Read the 3.19.9, 3.19.10 and 3.19.11 changelogs for anything else the interop depends on.
Remove the getOffsetForIndex stopgap
The refreshMeasurements() call in getOffsetForIndex in adaptive-virtualize-interop.js.
The one in scrollToIndex: 3.19.11 also aims the first scrollToIndex write from the current measurements.
Its row in the README's stopgap table.
Keep the other refreshMeasurements() calls (takeSnapshot, getSnapshot, before resizeItem). They cover this wrapper's own direct writes to itemSizeCache, which the upstream fix does not.
GetOffsetForIndex_RightAfterARowAboveChanges_UsesTheSizesTheVirtualizerUses has to stay green with the refresh removed.
⚠️The RTL stopgap stays.fix(virtual-core): restore programmatic scrolling in RTL elements TanStack/virtual#1291 is still open and is not in 3.19.11. Removing the scrollToFn negation now breaks scroll commands in IsRtl lists; keeping it after a release that contains that fix negates the write twice. IsRtl_ScrollToIndex_BringsTheItemOnScreen fails in both cases.
One change from the plan above: the RTL stopgap went too. TanStack/virtual#1291 was merged on 2026-11-03 and shipped in 3.19.11, so keeping the negation would have negated the write twice. IsRtl_ScrollToIndex_BringsTheItemOnScreen passes on 3.19.11.
Activity
Kebechet commentedon Nov 3, 2026
Done in #8, released as https://github.com/Kebechet/Blazor.TanStack.VirtualCore/releases/tag/v3.19.11 and listed on nuget.org as 3.19.11:
refreshMeasurements()beforegetOffsetForIndex/scrollToIndexremoved, now that fix(virtual-core): compute getOffsetForIndex from the current measurements TanStack/virtual#1363 is upstream. The calls beforeresizeItem,takeSnapshotandgetSnapshotstay.One change from the plan above: the RTL stopgap went too. TanStack/virtual#1291 was merged on 2026-11-03 and shipped in 3.19.11, so keeping the negation would have negated the write twice.
IsRtl_ScrollToIndex_BringsTheItemOnScreenpasses on 3.19.11.