@headlessui/react
2.2.10 · 7 Apr 2026MIT10.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @headlessui/react From 2.1.4 to 2.2.10
17 releases in betweenevery note read
Reading releases, release notes and advisories…
Release by release
- Fixed
Don’t render
<Portal>while hydrating - Fixed
Fix passing props on
Fragmenterror due toSymbol(react.lazy)
- Fixed
- Fixed
Improve focus management in shadow DOM roots
- Fixed
Don't accidentally open the
Comboboxwhen touching theComboboxButtonwhile dragging on mobile - Fixed
Ensure sibling
Dialogcomponents are scrollable on mobile - Fixed
Infer
Comboboxtype based ononChangehandler
- Fixed
- Fixed
Ensure we are not freezing data when the
staticprop is used - Fixed
Ensure
onChangetypes are contravariant instead of bivariant - Fixed
Support
<summary>as a focusable element inside<details> - Fixed
Fix
Maximum update depth exceededcrash when usingtransitionprop
- Fixed
- Fixed
Fix incorrect double invocation of menu items, listbox options and combobox options
- Fixed
Fix memory leak in SSR environment
- Fixed
Ensure programmatic
.click()onMenuButtonref works - Fixed
Don't activate hovered items while using the keyboard
- Fixed
- Fixed
Fix immediately closing Listbox by requiring some cursor movement
- Fixed
- Fixed
Fix listbox closing immediately after opening on touch devices
- Fixed
- Fixed
Fix
Comboboxerror (unexpected undefined) when using virtual mode
- Fixed
- New
Add a quick trigger action to the
Menu,ListboxandComboboxcomponents - Fixed
Fix clicking
Labelcomponent should open<Input type="file"> - Fixed
Ensure clicking on interactive elements inside
Labelcomponent works - Fixed
Fix focus not returned to SVG Element
- Fixed
Fix
Listboxnot focusing first or last option on ArrowUp / ArrowDown - Fixed
Performance improvement: only re-render top-level component when nesting components e.g.:
Menuinside aDialog - Fixed
Fix closing
Menuwhen otherMenuis opened
- New
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.