Skip to content

v0.133.0

Choose a tag to compare

@github-actions github-actions released this 04 May 14:38
7d0b53e

Minor Changes

  • #1140 af1736db Thanks @solarrust! - Tabs: reorderable tab picker — when isReorderable is enabled and a tab picker is shown, items in the picker dropdown can be reordered via drag-and-drop or Alt+Arrow keyboard shortcuts.

  • #1142 fe05e4cd Thanks @tenphi! - Tree: revert expandOnFolderClick. Its row-level stopPropagation() on pointer/mouse events prevented document-level listeners from receiving them — most visibly, Layout.Panel's resize (via React Aria's useMove) latched when the cursor released over a folder row in a Tree rendered inside a resizable panel. The default treegrid behavior (chevron expands, row activates selection) is unchanged.

Patch Changes

  • #1142 fe05e4cd Thanks @tenphi! - Tree: fix virtualized scroll container growing past its fixed height. The previous structure made the outer TreeElement both a display: flex layout container and the overflow: auto scroll element, so the virtualizer's sizer (a flex child with height: totalSize) was squashed by flex-shrink: 1 and the scroll area visibly grew as @tanstack/react-virtual re-measured rows during scroll. Scrolling now happens inside a dedicated block-level inner container, so the sizer's height is honored and the scroll viewport stays stable.

    The forwarded ref now points at this inner scroll container so consumers can read/write scrollTop directly. The role="treegrid" element (used internally by useTree) is its parent.