fix(deps): update dependency @tanstack/react-virtual to v3.14.5#1767
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update dependency @tanstack/react-virtual to v3.14.5#1767renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.13.12→3.14.5Release Notes
TanStack/virtual (@tanstack/react-virtual)
v3.14.5Compare Source
Patch Changes
767ead4,bc8643b]:v3.14.4Compare Source
Patch Changes
b04f9ee,37be284]:v3.14.3Compare Source
Patch Changes
#1201
2ba5eb6- MakedirectDomUpdatesa 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).Updated dependencies [
ef69ea3]:v3.14.2Compare Source
Patch Changes
c0b84c8,fbf3bdb]:v3.14.1Compare Source
Patch Changes
c746841]:v3.14.0Compare Source
Minor Changes
directDomUpdates,directDomUpdatesMode, andcontainerRef. (#1180)v3.13.26Compare Source
Patch Changes
fc992ab]:v3.13.25Compare Source
Patch Changes
useReducer(() => ({}), {})force-rerender pattern with an (#1168)incrementing number counter. Same semantics (every dispatch changes the
reducer state, forcing a render); zero per-dispatch object allocation.
Trivial individual cost, but eliminates one steady-state GC source on
scroll-heavy apps.
99355ad,99355ad,99355ad,99355ad,99355ad,99355ad,99355ad]:v3.13.24Compare Source
Patch Changes
97a204d]:v3.13.23Compare Source
Patch Changes
7ece2d5]:v3.13.22Compare Source
Patch Changes
54d771a,d3416c3]:v3.13.21Compare Source
Patch Changes
be89e29]:v3.13.20Compare Source
Patch Changes
ff83e94]:v3.13.19Compare Source
Patch Changes
843109c]:v3.13.18Compare Source
Patch Changes
9067574]:v3.13.17Compare Source
Patch Changes
21d9a46]:v3.13.16Compare Source
Patch Changes
db6df21]:v3.13.15Compare Source
Patch Changes
feat(react-virtual): add
useFlushSyncoption (#1100)Adds a React-specific
useFlushSyncoption to control whetherflushSyncis used for synchronous scroll correction during measurement.The default behavior remains unchanged (
useFlushSync: true) to preserve the best scrolling experience.Disabling it avoids the React 19 warning about calling
flushSyncduring render, at the cost of potentially increased visible whitespace during fast scrolling with dynamically sized items.Updated dependencies [
5a273bf]:v3.13.14Compare Source
Patch Changes
6d9274c]:v3.13.13Compare Source
Patch Changes
Fix: Notify framework when count changes to update getTotalSize() (#1085)
Fixed an issue where
getTotalSize()would return stale values when thecountoption changed (e.g., during filtering or search operations). The virtualizer now automatically notifies the framework when measurement-affecting options change, ensuring the UI updates correctly without requiring manualuseMemoworkarounds.Before: When filtering items, the list container would maintain its previous height, causing excessive blank space (when count decreased) or inaccessible items (when count increased).
After: Height updates automatically when count changes, providing the correct user experience.
This fix applies to all framework adapters and has minimal performance impact (< 0.1ms per change).
Updated dependencies [
2542c5a,96e32a6]:Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.