github-actions
released this
21 Jun 14:18
·
46 commits
to main
since this release
We just released Headless UI v2.1 for React, which dramatically simplifies our transition APIs and adds support for rendering multiple dialogs as siblings. See our announcement blog to learn more.
Changelog
Added
- Add ability to render multiple
Dialog
components at once (without nesting them) (#3242) - Add new data-attribute-based transition API (#3273, #3285, #3307, #3309, #3312)
- Add
DialogBackdrop
component (#3307, #3310) - Add
PopoverBackdrop
component to replacePopoverOverlay
(#3308)
Fixed
- Keep
Combobox
open when clicking scrollbar inComboboxOptions
(#3249) - Ensure
ComboboxInput
does not sync with current value while typing (#3259) - Fix visual jitter in
Combobox
component when using native scrollbar (#3190) - Improve UX by freezing
ComboboxOptions
while closing (#3304) - Merge incoming
style
prop onComboboxOptions
,ListboxOptions
,MenuItems
, andPopoverPanel
components (#3250) - Prevent focus on
Checkbox
when it isdisabled
(#3251) - Use
useId
instead of React internals (for React 19 compatibility) (#3254) - Cancel outside click behavior on touch devices when scrolling (#3266)
- Correctly apply conditional classes when using
Transition
andTransitionChild
components (#3303)
Changed
- Allow using the
Tab
andShift+Tab
keys when theListbox
component is open (#3284)