@headlessui/react
2.2.10 · 7 Apr 2026MIT10.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @headlessui/react From 1.7.14 to 1.7.19
5 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- New
Add
hiddenattribute to internalHiddencomponent when theFeatures.Hiddenfeature is used - Fixed
Make sure panels re-register when IDs are calculated in React < 18
- Fixed
Expose
disabledstate onTabcomponent - Fixed
Prevent default behaviour when clicking outside of a
Dialog.Panel - Fixed
Allow setting custom
tabIndexon theSwitchcomponent - Fixed
Forward
disabledstate to hidden inputs in form-like components - Fixed
Respect
selectedIndexfor controlledTabcomponents
- New
- New
Add support for
role="alertdialog"to<Dialog>component - Fixed
Don't call
<Dialog>'sonClosetwice on mobile devices - Fixed
Lazily resolve default containers in
<Dialog> - Fixed
Ensure hidden
Tab.Panelcomponents are hidden from the accessibility tree
- New
- Fixed
Use correct value when resetting
<Listbox multiple>and<Combobox multiple> - Fixed
Render
<MainTreeNode />inPopover.Groupcomponent only - Fixed
Disable smooth scrolling when opening/closing
Dialogcomponents on iOS - Fixed
Don't assume
<Tab />components are available when setting the next index
- Fixed
- Fixed
Ensure the caret is in a consistent position when syncing the
Combobox.Inputvalue - Fixed
Improve "outside click" behaviour in combination with 3rd party libraries
- Fixed
Ensure IME works on Android devices
- Fixed
Calculate
aria-expandedpurely based on the open/closed state - Fixed
Submit form on
Entereven if no submit-like button was found
- Fixed
- New
Add demo mode to
MenuandPopovercomponents - Fixed
Ensure
FocusTrapis only active when the givenenabledvalue istrue - Fixed
Stop
<Transition appear>from overwriting classes on re-render - Fixed
Improve control over
MenuandListboxoptions while searching - Fixed
Consider clicks inside iframes to be "outside"
- Fixed
Ensure moving focus within a
Portalcomponent, does not close thePopovercomponent
- New
1 other line we could not sort, mostly version bumps
- 1.7.15
Move
typescondition to the front
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.