03c22b42b6
* make `handleOutsideClick` stable * cancel "outside click" when "scrolling" on touch device When on a touch device, then the `touchend` event will fire, even if you scrolled a bit and scrolling was your intention. This now tracks that touches were at least 30px apart in either the X or Y direction. If that's the case, then we do not consider it an outside click. * add `enabled` parameter to `useDocumentEvent` and `useWindowEvent` * update `useDocumentEvent` and `useWindowEvent` usages This now takes the new `enabled` value into account. * update changelog * bump vue and vite in playground
@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: