Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Nov 26, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@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 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, 96e32a6]:

@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 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, 96e32a6]:

@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 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, 96e32a6]:

@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 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, 96e32a6]:

@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 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, 96e32a6]:

@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 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).

  • fix: stabilize lane assignments in masonry layout (#1080)

    Added lane assignment caching to prevent items from jumping between lanes when viewport is resized. Previously, items could shift to different lanes during resize due to recalculating "shortest lane" with slightly different heights.

    Changes:

    • Added laneAssignments cache (Map<index, lane>) to persist lane assignments
    • Lane cache is cleared when lanes option changes or measure() is called
    • Lane cache is cleaned up when count decreases (removes stale entries)
    • Lane cache is cleared when virtualizer is disabled

@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 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, 96e32a6]:

@github-actions github-actions bot force-pushed the changeset-release/main branch 3 times, most recently from afefe12 to 1c6ae8e Compare December 7, 2025 16:59
@github-actions github-actions bot force-pushed the changeset-release/main branch from 1c6ae8e to 48b64a7 Compare December 8, 2025 05:57
@piecyk piecyk merged commit de8c12f into main Dec 8, 2025
@piecyk piecyk deleted the changeset-release/main branch December 8, 2025 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants