Skip to content

fix(deps): update dependency @tanstack/virtual-core to ^3.17.7 - #62

Open
renovate-ce-paramount-engineering[bot] wants to merge 1 commit into
mainfrom
renovate/tanstack-virtual-monorepo
Open

fix(deps): update dependency @tanstack/virtual-core to ^3.17.7#62
renovate-ce-paramount-engineering[bot] wants to merge 1 commit into
mainfrom
renovate/tanstack-virtual-monorepo

Conversation

@renovate-ce-paramount-engineering

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@tanstack/virtual-core (source) ^3.17.3^3.17.7 age confidence

Release Notes

TanStack/virtual (@​tanstack/virtual-core)

v3.17.7

Compare Source

Patch Changes
  • #​1239 a5417b4 - Fix a one-frame viewport jump when above-viewport rows resize while scrolling up (#​1227). resizeItem writes scrollTop synchronously inside the ResizeObserver callback to compensate for the size change, but then notified asynchronously — so the browser could paint a frame with the new scrollTop and the old item transforms, making the content jerk by the resize delta and snap back. When a compensation actually moves the scroll position, resizeItem now notifies synchronously so the transform commit lands in the same paint as the scroll write. Resizes that don't move the scroll position (below-fold measurements, iOS-deferred adjustments) keep the cheaper async notify.

v3.17.6

Compare Source

Patch Changes
  • #​1236 7ae32b5 - Stop the default scroll-adjustment heuristic from drifting the viewport when a viewport-spanning item grows. Previously any item whose top sat above the fold (itemStart < scrollOffset) had its size delta compensated on every re-measure — including a streaming chat message that spans the fold and grows at its bottom, dragging scrollTop downward token by token (#​1218). Re-measurements now only compensate items that are entirely above the fold (itemStart + itemSize <= scrollOffset); growth below the anchor point leaves the scroll position untouched. First measurements (estimate→actual) still compensate any above-fold item, and a custom shouldAdjustScrollPositionOnItemSizeChange still overrides the default.

v3.17.5

Compare Source

Patch Changes
  • #​1230 1e3b908 - Clamp the tracked scrollOffset at 0 when applying end-anchor measurement compensation and when re-anchoring in setOptions. Previously, with anchorTo: 'end' and content shorter than the viewport, items measuring smaller than their estimates drove the tracked offset negative with no scroll event to ever correct it — getDistanceFromEnd() reported a permanent phantom distance and iOS deferred measurement corrections stayed wedged forever.

  • #​1235 7dcfc07 - Stop iOS-deferred scroll adjustments from replaying stale deltas after the position is already correct (#​1233). On iOS WebKit the end-anchored virtualizer defers scroll compensation while the scroller is live and replays it once settled, but two cases replayed a delta whose premise no longer held:

    • Absolute scroll commands (scrollToOffset / scrollToIndex / scrollToEnd) derive their target from current measurements, so a pending deferred delta is already stale — it now invalidates the deferral instead of letting it replay and shift the list off the just-established position. Relative commands (scrollBy) keep the deferral.
    • At the end clamp with anchorTo: 'end', a row above the viewport re-measuring smaller lets the browser clamp scrollTop onto the new bottom (already the correct position); the flush now drops the stale negative compensation instead of replaying it and lifting the view off the bottom. Positive deltas still replay, since content growth above does not clamp.

v3.17.4

Compare Source

Patch Changes
  • #​1224 6cbecd8 - Improve multi-lane virtualization performance: replace the backward scan in getMeasurements with an incremental per-lane argmin (O(lanes) shortest-lane lookup). Placement output is unchanged and the single-lane fast path is untouched.

  • #​1223 d49cc52 - Made gap option changes invalidate measurements

  • #​1220 cf7834d - Reset iOS gesture/deferral state in cleanup() so it no longer leaks across scroll element swaps.


Configuration

📅 Schedule: (in timezone America/Los_Angeles)

  • Branch creation
    • "before 6am on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate CE.

@renovate-ce-paramount-engineering renovate-ce-paramount-engineering Bot added the dependencies Pull requests that update a dependency file label Aug 10, 2026
@renovate-ce-paramount-engineering
renovate-ce-paramount-engineering Bot force-pushed the renovate/tanstack-virtual-monorepo branch from 62e5b14 to e5a47a1 Compare August 10, 2026 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Development

Successfully merging this pull request may close these issues.

0 participants