headlessui
headlessui copied to clipboard
Completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
**What package within Headless UI are you using?** @headlessui/react **What version of that package are you using?** v2.1.2 **What browser are you using?** All **Reproduction URL** [v1.7.2](https://codesandbox.io/p/sandbox/headelessui-menu-1-7-2-chwdmk?file=%2Fsrc%2FApp.tsx) [v2.1.2](https://codesandbox.io/p/sandbox/headelessui-menu-v2-pysdhp?file=%2Fsrc%2Findex.tsx) **Describe your...
### Describe the bug and the expected behavior When TypeScript compiler option `exactOptionalPropertyTypes` is set to `true`, you cannot pass `undefined` as a value to an object property that is...
**What package within Headless UI are you using?** @headlessui/react **What version of that package are you using?** 2.1.2 **What browser are you using?** Firefox **Reproduction URL** https://codesandbox.io/p/devbox/cool-moon-x4447s **Describe your issue**...
I think this one is related to https://github.com/tailwindlabs/headlessui/issues/3348 Repro: 1. Go to https://tailwindui.com/components/application-ui/application-shells/sidebar 2. Take the react code from the first example: https://tailwindui.com/components/application-ui/application-shells/sidebar#component-73d9b2c2e2af9184f305f06649710086 3. Add `unmount={false}` to the `` component...
**What package within Headless UI are you using?** @headlessui/react **What version of that package are you using?** 2.1.10 **What browser are you using?** * Firefox 131.0.3 * Chromium 129.0.6668.100 **Reproduction...
### Description I'm experiencing an issue with focus management in the Dialog component when using Headless UI in a Nuxt 3 project. When I open a dialog and then close...
https://github.com/tailwindlabs/headlessui/blob/5eb3b12a95a980397d4cf055f120691911631e85/packages/%40headlessui-react/src/components/combobox/combobox.tsx#L1309 Based on the line above and the preceding comment, it looks like when the user clears the input value, there is an `onChange` event fired. Is there a reason...
**What package within Headless UI are you using?** @headlessui/react **What version of that package are you using?** v2.1.9 **What browser are you using?** Vitest (vitest-dom v0.1.1) **Reproduction URL** I've not...
**What package within Headless UI are you using?** @headlessui/react **What version of that package are you using?** 2.1.10 (downgraded to 2.0.4 for testing and it still happens) **What browser are...
**What package within Headless UI are you using?** @headlessui/react **What version of that package are you using?** v2.1.8 **What browser are you using?** Safari iOS **Reproduction URL** https://codesandbox.io/p/devbox/competent-colden-h56pgw **Describe your...