Added
- Add
by
prop forListbox
,Combobox
andRadioGroup
(#1482, #1717, #1814, #1815) - Make form components uncontrollable (#1683)
- Add
@headlessui/tailwindcss
plugin (#1487)
Fixed
- Fixed SSR support on Deno (#1671)
- Don’t close dialog when opened during mouse up event (#1667)
- Don’t close dialog when drag ends outside dialog (#1667)
- Fix outside clicks to close dialog when nested, unopened dialogs are present (#1667)
- Close
Menu
component when usingtab
key (#1673) - Resync input when display value changes (#1679, #1755)
- Ensure controlled
Tabs
don't change automagically (#1680) - Improve outside click on Safari iOS (#1712)
- Improve event handler merging (#1715)
- Fix incorrect scrolling to the bottom when opening a
Dialog
(#1716) - Don't overwrite
element.focus()
on<PopoverPanel>
(#1719) - Improve
Combobox
re-opening keyboard issue on mobile (#1732) - Only select the active option when using "singular" mode when pressing
<tab>
in theCombobox
component (#1750) - Only restore focus to the
MenuButton
if necessary when activating aMenuOption
(#1782) - Don't scroll when wrapping around in focus trap (#1789)
- Improve accessibility when announcing
ListboxOption
andComboboxOption
components (#1812) - Expose the
value
from theCombobox
andListbox
components slot (#1822) - Improve
scroll lock
on iOS (#1824)