Skip to content

Commit 0546b3f

Browse files
fix(deps): update dependency @tanstack/react-virtual to v3.13.13 (#8012)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@tanstack/react-virtual](https://tanstack.com/virtual) ([source](https://redirect.github.com/TanStack/virtual/tree/HEAD/packages/react-virtual)) | [`3.13.12` -> `3.13.13`](https://renovatebot.com/diffs/npm/@tanstack%2freact-virtual/3.13.12/3.13.13) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@tanstack%2freact-virtual/3.13.13?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@tanstack%2freact-virtual/3.13.12/3.13.13?slim=true) | --- ### Release Notes <details> <summary>TanStack/virtual (@&#8203;tanstack/react-virtual)</summary> ### [`v3.13.13`](https://redirect.github.com/TanStack/virtual/blob/HEAD/packages/react-virtual/CHANGELOG.md#31313) [Compare Source](https://redirect.github.com/TanStack/virtual/compare/@tanstack/[email protected]...@tanstack/[email protected]) ##### Patch Changes - Fix: Notify framework when count changes to update getTotalSize() ([#&#8203;1085](https://redirect.github.com/TanStack/virtual/pull/1085)) Fixed an issue where `getTotalSize()` would return stale values when the `count` option 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 manual `useMemo` workarounds. **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`](https://redirect.github.com/TanStack/virtual/commit/2542c5a3d6820cea956fa3b4f94c42e3526a8d68), [`96e32a6`](https://redirect.github.com/TanStack/virtual/commit/96e32a6ffc125743a0172ea4e0fe37ac29c4187b)]: - [@&#8203;tanstack/virtual-core](https://redirect.github.com/tanstack/virtual-core)@&#8203;3.13.13 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/UI5/webcomponents-react). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4zMi4yIiwidXBkYXRlZEluVmVyIjoiNDIuMzIuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 3b13a24 commit 0546b3f

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

packages/main/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -789,7 +789,7 @@
789789
"watch:css": "yarn build:css --watch"
790790
},
791791
"dependencies": {
792-
"@tanstack/react-virtual": "3.13.12",
792+
"@tanstack/react-virtual": "3.13.13",
793793
"@ui5/webcomponents-react-base": "workspace:~",
794794
"clsx": "2.1.1",
795795
"react-table": "7.8.0"

yarn.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3855,22 +3855,22 @@ __metadata:
38553855
languageName: node
38563856
linkType: hard
38573857

3858-
"@tanstack/react-virtual@npm:3.13.12":
3859-
version: 3.13.12
3860-
resolution: "@tanstack/react-virtual@npm:3.13.12"
3858+
"@tanstack/react-virtual@npm:3.13.13":
3859+
version: 3.13.13
3860+
resolution: "@tanstack/react-virtual@npm:3.13.13"
38613861
dependencies:
3862-
"@tanstack/virtual-core": "npm:3.13.12"
3862+
"@tanstack/virtual-core": "npm:3.13.13"
38633863
peerDependencies:
38643864
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
38653865
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
3866-
checksum: 10c0/0eda3d5691ec3bf93a1cdaa955f4972c7aa9a5026179622824bb52ff8c47e59ee4634208e52d77f43ffb3ce435ee39a0899d6a81f6316918ce89d68122490371
3866+
checksum: 10c0/7c711592c7a3b61059d58292dba9ef2a1ff5ad6827d2add4802d50bf218bb17014292b7dd4da72cf148e2fbf1856e928269283e8831cbf1675aa5a2d86fd7c88
38673867
languageName: node
38683868
linkType: hard
38693869

3870-
"@tanstack/virtual-core@npm:3.13.12":
3871-
version: 3.13.12
3872-
resolution: "@tanstack/virtual-core@npm:3.13.12"
3873-
checksum: 10c0/483f38761b73db05c181c10181f0781c1051be3350ae5c378e65057e5f1fdd6606e06e17dbaad8a5e36c04b208ea1a1344cacd4eca0dcde60f335cf398e4d698
3870+
"@tanstack/virtual-core@npm:3.13.13":
3871+
version: 3.13.13
3872+
resolution: "@tanstack/virtual-core@npm:3.13.13"
3873+
checksum: 10c0/0411295054a6fff21a22944c224f2e414c77c6455015b319f378ea3e9937aefb3b43f4113df2ab9096e5f3db673b085cd778d69ec9918f42bbb94c2dbd43a639
38743874
languageName: node
38753875
linkType: hard
38763876

@@ -5195,7 +5195,7 @@ __metadata:
51955195
version: 0.0.0-use.local
51965196
resolution: "@ui5/webcomponents-react@workspace:packages/main"
51975197
dependencies:
5198-
"@tanstack/react-virtual": "npm:3.13.12"
5198+
"@tanstack/react-virtual": "npm:3.13.13"
51995199
"@ui5/webcomponents-react-base": "workspace:~"
52005200
clsx: "npm:2.1.1"
52015201
react-table: "npm:7.8.0"

0 commit comments

Comments
 (0)