Releases: TanStack/virtual
@tanstack/[email protected]
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]:- @tanstack/[email protected]
@tanstack/[email protected]
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]:- @tanstack/[email protected]
@tanstack/[email protected]
Patch Changes
-
fix(lit-virtual): create Virtualizer instance before hostConnected (#1061)
When creating an instance of the reactive controller in
connectedCallback, callingaddControllerwill synchronously callhostConnectedon the controller. This means thatthis.virtualizerwill still beundefined.
@tanstack/[email protected]
Major Changes
-
feat(angular-virtual): add support for angular 20 (#1040)
BREAKING CHANGE: minimum Angular version is now 18.1.0
@tanstack/[email protected]
Patch Changes
- Updated dependencies [
d21ed98]:- @tanstack/[email protected]
@tanstack/[email protected]
Patch Changes
- fix(virtual-core): scroll to index doesn't scroll to bottom correctly (#1029)
@tanstack/[email protected]
Patch Changes
- Updated dependencies [
d21ed98]:- @tanstack/[email protected]
@tanstack/[email protected]
Patch Changes
- Updated dependencies [
d21ed98]:- @tanstack/[email protected]
@tanstack/[email protected]
Patch Changes
-
chore(react-virtual): fix vite e2e build (#1030)
-
Updated dependencies [
d21ed98]:- @tanstack/[email protected]
@tanstack/[email protected]
Patch Changes
- Updated dependencies [
d21ed98]:- @tanstack/[email protected]