Sourced from radix-ui's changelog.
1.6.4
- Fixed a regression where importing primitives from the root
radix-uientry point erased every primitive's types toany.1.6.3
Dialog
- Fixed broken ARIA references in Dialogs where title or description elements are not rendered.
Slider
- Fixed a bug where
onValueCommitwas not called when a slider thumb was dragged across another thumb.Toast
- Fixed
Toastremoving non-focused toasts when pressingEscape.Tooltip
- Fixed a bug where
Tooltip.Contentchildren were mounted to the DOM twice.Other updates
- Fixed overriding inline animation style in
Popper.Content.- Improved tree-shaking so bundlers can drop unused components. Component parts are now marked
/* @__PURE__ */and use named render functions instead ofComponent.displayName = ...assignments, which previously prevented dead-code elimination with some bundlers.- Widened
virtualRefprop type to allowRefObject<Measurable | null>in popover components.- Fixed dev-only checks with conditional exports to drop dev-warnings from production builds.
- Added per-primitive subpath entry points so each primitive can be imported directly, eg.
import { Accordion } from 'radix-ui/accordion'orimport * as Accordion from 'radix-ui/accordion'. This mirrors the namespaced exports available from the rootradix-uientry point.- Fixed a bug where updating a
Checkbox,Switch, orRadioGroupvalue programmatically (eg. a "select all" control) while inside a<form>would dispatch aclickevent from the hidden bubble input that propagated to ancestoronClickhandlers.1.6.2
Other updates
- Added CSS custom properties for Navigation Menu item indicators' translate values.
- Fixed a bug in Dismissable Layer causing background nested popovers to close all layers on outside click
- Fixed runtime errors for
Form.Message,Form.Control,Form.LabelandForm.ValidityStatethat are correctly rendered outside ofForm.Fieldcomponents- Fixed a bug in form control components to ensure their values are updated when their associated form's is reset. This affects
RadioGroup,Slider,Select, andSwitch.- Fixed menu items, tab triggers, toolbar links, and select items intercepting
Space/Enterkeys that originate from focusable descendants.- Fixed a bug where calling an event handler without an argument would throw, preventing successive event handlers from being called. This affected all components that accept event handlers with internal implementations.
- Fixed a bug in Context Menu to ensure that the menu properly re-anchors to the latest pointer position when re-triggered in its open state.
- Fixed stale
onEscapeKeyDown/onDismisshandlers on React 19.2.- Fixed items in a Roving Focus Group not being auto-focused on mount within a Focus Scope component.
- Fixed a regression in Dismissable Layer originating from a bug in React's
useEffectEvent.- Fixed
--radix-scroll-area-corner-widthand--radix-scroll-area-corner-heightnot resetting to0when a corner is removed. Previously these values would stick around and leave a permanent gap on the remaining scrollbar.- Fixed a bug in Slider where stepping with the keyboard would skip a valid value when the current value is off the step grid. Stepping now snaps to the next step-aligned value in the direction of travel, matching native
<input type="range">behavior.1.6.1
... (truncated)
This version has no provenance attestation, while the previous version (1.6.0) was attested. Review the package versions before updating.