Skip to content

Conversation

@rsaz
Copy link
Member

@rsaz rsaz commented Dec 9, 2025

snyk-top-banner

Snyk has created this PR to upgrade @headlessui/react from 2.2.4 to 2.2.9.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 5 versions ahead of your current version.

  • The recommended version was released 2 months ago.

Release notes
Package name: @headlessui/react
  • 2.2.9 - 2025-09-25

    Fixed

    • Improve focus management in shadow DOM roots (#3794)
    • Don't accidentally open the Combobox when touching the ComboboxButton while dragging on mobile (#3795)
    • Ensure sibling Dialog components are scrollable on mobile (#3796)
    • Infer Combobox type based on onChange handler (#3798)
    • Allow home/end key default behavior inside ComboboxInput when Combobox is closed (#3798)
    • Ensure interacting with a Dialog on 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)
  • 2.2.8 - 2025-09-12

    Fixed

    • Ensure we are not freezing data when the static prop is used (#3779)
    • Ensure onChange types are contravariant instead of bivariant (#3781)
    • Support <summary> as a focusable element inside <details> (#3389)
    • Fix Maximum update depth exceeded crash when using transition prop (#3782)
    • Ensure pressing Tab in the ComboboxInput, correctly syncs the input value (#3785)
    • Ensure --button-width and --input-width have the latest value (#3786)
    • Fix 'Invalid prop data-headlessui-state supplied to React.Fragment' warning (#3788)
    • Ensure element in ref callback is always connected when rendering in a Portal (#3789)
    • Ensure form state is up to date when using uncontrolled components (#3790)
    • Ensure data-open on ComboboxInput is up to date (#3791)
    • Ensure changing the immediate prop value on the Combobox component works as expected (#3792)
  • 2.2.7 - 2025-07-30

    Fixed

    • Fix incorrect double invocation of menu items, listbox options and combobox options (#3766)
    • Fix memory leak in SSR environment (#3767)
    • Ensure programmatic .click() on MenuButton ref works (#3768)
    • Don't activate hovered items while using the keyboard (#3769)
  • 2.2.6 - 2025-07-24

    Fixed

    • Fix immediately closing Listbox by requiring some cursor movement (#3762)
  • 2.2.5 - 2025-07-23

    Fixed

    • Fix listbox closing immediately after opening on touch devices (#3755)
  • 2.2.4 - 2025-05-20

    Fixed

    • Fix Combobox error (unexpected undefined) when using virtual mode (#3734)
from @headlessui/react GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade @headlessui/react from 2.2.4 to 2.2.9.

See this package in npm:
@headlessui/react

See this project in Snyk:
https://app.snyk.io/org/rsaz/project/0a5c9e8a-cdcd-4522-a946-c1a8fad069a2?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants