51acc1bff5
This is a small behavioral change, but this PR will change when the `Menu` and `Listbox` components open. This PR will now open the `Menu` and `Listbox` components on `mousedown` instead of `click`. This will make it feel more responsive and faster to the user. This is also how macOS for example opens menu-like components on the OS level. This is also how the native `<select>` (at least on macOS) works.
@headlessui/react
A set of completely unstyled, fully accessible UI components for React, designed to integrate beautifully with Tailwind CSS.
Installation
npm install @headlessui/react
Documentation
For full documentation, visit headlessui.dev.
Community
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
For casual chit-chat with others using the library: