v1.0.0-beta.4
Oct 1, 2025
View as MarkdownGeneral changes
- Breaking change: Generic event details.
The main exported type is now
BaseUIChangeEventDetails(with a pairedBaseUIGenericEventDetails), notBaseUIEventDetails. (#2796) - Update
disabledprop of buttons when ref changes (#2756) - Refine event details (#2698)
Accordion
- Breaking change: Use
useIdinstead of composite index as fallback value. Accordion items must have an explicitvalueset in order to be initially open. Inferring the value by their DOM index is no longer supported. (#2664) - Breaking change: Rename
openMultipleprop tomultiple(#2764)
Autocomplete
- Breaking change:
onItemHighlightednow has areasonproperty instead oftypeto be consistent with theeventDetailsAPI. (#2796) - Breaking change: Rename
colstogridprop. Specifygrid={true}instead ofcols={number}— the columns are automatically inferred from<Autocomplete.Row>(#2683) - Fix duplicate
onOpenChangecalls and pass correct DOMevent. (#2682) - Fix controlled input value updates (#2707)
- Fix input focus on close when clicking trigger. Fixes a jump to the bottom of the page in Safari (#2723)
- Add
alwaysSubmitOnEnterprop and allow form submission on Enter if no item is highlighted by default (#2700) - Use
ReadonlyArraytype foritems(#2819)
Collapsible
- Fix
CollapsiblePaneltype to use its own state (#2697) - Respect user’s CSS
displayproperty on panel (#2772)
Combobox
- Breaking change:
onItemHighlightednow has areasonproperty instead oftypeto be consistent with theeventDetailsAPI. (#2796) - Breaking change: Rename
colstogridprop. Specifygrid={true}instead ofcols={number}— the columns are automatically inferred from<Combobox.Row>. (#2683) - Fix duplicate
onOpenChangecalls and pass correct DOMevent. (#2682) - Fix initial closed typeahead (#2665)
- Support
autoHighlightprop (#2668) - Set default input value based on
valueprop (#2680) - Fix controlled input value updates (#2707)
- Fix input focus on close when clicking trigger. Fixes a jump to the bottom of the page in Safari (#2723)
- Fix unexpected close with multiple selection and input inside popup (#2771)
- Allow form submission on Enter if no item is highlighted by default (#2700)
- Avoid refiltering with ending transition in multiple selection mode (#2681)
- Support object values with
isItemEqualToValueprop (#2704) - Use
ReadonlyArraytype foritems(#2819) - Fix misleading
item-pressreason inonInputValueChange(#2830) - Clear single-select value on input clear (#2860)
- Fix
focusoutof input not closing popup under certain conditions (#2864)
Context Menu
- Ensure submenus close when parents close (#2768)
- Fix
onClickfiring twice on first click of item (#2849)
Menu
- Ensure submenus close when parents close (#2768)
- Allow non-nested portals across differing popup trees (#2818)
Menubar
- Fix Menubar not disabling child Menus (#2736)
- Ensure submenus close when parents close (#2768)
- Fix
<CompositeList>not updating item order on reordering (#2675)
Navigation Menu
- Make link close on click configurable (#2740)
- Fix focus returning to trigger without animations (#2779)
Number Field
- Fix stuck virtual cursor after mouse tap (#2720)
- Improve parsing logic (#2725)
- Align value changes with
Slider. AnonValueCommittedcallback has been added. (#2726)
Popover
- Allow non-nested portals across differing popup trees (#2818)
Scroll Area
- Add overflow presence state attributes and CSS variables (#2478)
- Fix RTL horizontal scrollbar on Safari (#2776)
- Fix thumb size flicker (#2778)
Select
- Breaking change: Add
<Select.List>component. It is now possible for<Select.ScrollArrow>to show when in fallback (alignItemWithTriggerdeactivated). As a result, if you want the scroll arrows to be hidden in this mode like before, change the styles to default todisplay: noneon.ScrollArrow, anddisplay: blockwhen[data-side="none"]. (#2596) - Block opening the popup when provided
readOnly(#2717) - Add
openstate for<Select.Icon>and fixreftype (#2714) - Support object values with
isItemEqualToValueprop (#2704) - Use
ReadonlyArraytype foritems(#2819)
Slider
- Breaking change:
onValueChangehasactiveThumbIndexas part of theeventDetailsobject as a second parameter, not third. (#2796) - Breaking change: Remove redundant hidden inputs.
The
inputRefprop is moved from<Slider.Root>to<Slider.Thumb>. (#2631) - Fix pointer tracking bugs (#2688)
- Fix input attributes (#2728)
- Add
thumbAlignmentprop (#2540)
Switch
- Fix duplicate
nameattribute (#2763)
Toast
- Breaking change: Support variable height stacking.
Toasts that have varying heights no longer force a
data-expandedexpanded state on the viewport. CSS should be amended to ensure larger toasts don’t overflow a small toast stacked at the front. See this diff for new styles, along with general improvements to stacking styles. (#2742) - Reduce stickiness of expanded state (#2770)
- Ensure toast is frozen at its current visual transform while swiping (#2769)
Toggle Group
- Breaking change: Rename
toggleMultipleprop tomultiple. (#2764)
Toolbar
- Fix
<CompositeList>not updating item order on reordering (#2675)
useRender
- Add div as a
defaultTagName(#2692)