Releases: tailwindlabs/headlessui
Releases · tailwindlabs/headlessui
@headlessui/[email protected]
Fixed
- Improve focus management in shadow DOM roots (#3794)
- Don't accidentally open the
Comboboxwhen touching theComboboxButtonwhile dragging on mobile (#3795) - Ensure sibling
Dialogcomponents are scrollable on mobile (#3796) - Infer
Comboboxtype based ononChangehandler (#3798) - Allow home/end key default behavior inside
ComboboxInputwhenComboboxis closed (#3798) - Ensure interacting with a
Dialogon iOS works after interacting with a disallowed area (#3801) - Freeze Listbox values as soon as a value is selected (#3802)
- Ensure refs are forwarded when freezing data (#3390)
- Do not serialize React components into form fields (49e9e8e)
@headlessui/[email protected]
Fixed
- Ensure we are not freezing data when the
staticprop is used (#3779) - Ensure
onChangetypes are contravariant instead of bivariant (#3781) - Support
<summary>as a focusable element inside<details>(#3389) - Fix
Maximum update depth exceededcrash when usingtransitionprop (#3782) - Ensure pressing
Tabin theComboboxInput, correctly syncs the input value (#3785) - Ensure
--button-widthand--input-widthhave the latest value (#3786) - Fix 'Invalid prop
data-headlessui-statesupplied toReact.Fragment' warning (#3788) - Ensure
elementinrefcallback is always connected when rendering in aPortal(#3789) - Ensure form state is up to date when using uncontrolled components (#3790)
- Ensure
data-openonComboboxInputis up to date (#3791) - Ensure changing the
immediateprop value on theComboboxcomponent works as expected (#3792)
@headlessui/[email protected]
@headlessui/[email protected]
Fixed
- Fix immediately closing Listbox by requiring some cursor movement (#3762)
@headlessui/[email protected]
Fixed
- Fix listbox closing immediately after opening on touch devices (#3755)
@headlessui/[email protected]
Fixed
- Fix
Comboboxerror (unexpected undefined) when using virtual mode (#3734)
@headlessui/[email protected]
Added
- Add a quick trigger action to the
Menu,ListboxandComboboxcomponents (#3700)
Fixed
- Fix clicking
Labelcomponent should open<Input type="file">(#3707) - Ensure clicking on interactive elements inside
Labelcomponent works (#3709) - Fix focus not returned to SVG Element (#3704)
- Fix
Listboxnot focusing first or last option on ArrowUp / ArrowDown (#3721) - Performance improvement: only re-render top-level component when nesting components e.g.:
Menuinside aDialog(#3722) - Fix closing
Menuwhen otherMenuis opened (#3726)
@headlessui/[email protected]
@headlessui/[email protected]
Added
- Accept
tabIndexon theCheckboxcomponent (#3645) - Accept
tabIndexon theRadioGroupcomponent (#3646)
Fixed
- Use correct
ownerDocumentwhen using internalPortalcomponent (#3594) - Bump
@tanstack/react-virtualto fix warnings in React 19 projects (#3588) - Fix
aria-invalidattributes to have a valid'true'value (#3639) - Add missing
invalidprop toComboboxcomponent (#3677) - Fix
Unexpected undefinedcrash inComboboxcomponent withvirtualmode (#3678)
@headlessui/[email protected]
- Support installing with Tailwind CSS v4 (#3634)