Packages

@headlessui/react

2.2.10 · 7 Apr 2026MIT10.3M / weekRepositoryHomepagenpmAtom feed

Your version

2.2.8

12 Sep 2025Where it was published

2.2.10 is the newest release of 2.x.

In short

11 fixed

Release note

Fixed

  • Ensure we are not freezing data when the static prop is used

  • Ensure onChange types are contravariant instead of bivariant

  • Support <summary> as a focusable element inside <details>

  • Fix Maximum update depth exceeded crash when using transition prop

  • Ensure pressing Tab in the ComboboxInput, correctly syncs the input value

  • Ensure --button-width and --input-width have the latest value

  • Fix 'Invalid prop data-headlessui-state supplied to React.Fragment' warning

  • Ensure element in ref callback is always connected when rendering in a Portal

  • Ensure form state is up to date when using uncontrolled components

  • Ensure data-open on ComboboxInput is up to date

  • Ensure changing the immediate prop value on the Combobox component works as expected

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.