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) - Don't scroll lock when a Transition + Dialog is mounted but hidden (#1681)
- Allow
Popover
close
to be passed directly toonClick
handlers (#1696) - Improve outside click on Safari iOS (#1712)
- Improve event handler merging (#1715)
- Fix incorrect scrolling to the bottom when opening a
Dialog
(#1716) - Improve
Combobox
re-opening keyboard issue on mobile (#1732) - Ensure
Disclosure.Panel
is properly linked (#1747) - Only select the active option when using "singular" mode when pressing
<tab>
in theCombobox
component (#1750) - Improve the types of the
Combobox
component (#1761) - Only restore focus to the
Menu.Button
if necessary when activating aMenu.Option
(#1782) - Don't scroll when wrapping around in focus trap (#1789)
- Fix
Transition
component's incorrect cleanup and order of events (#1803) - Ensure enter transitions work when using
unmount={false}
(#1811) - Improve accessibility when announcing
Listbox.Option
andCombobox.Option
components (#1812) - Fix
ref
stealing from children (#1820) - Expose the
value
from theCombobox
andListbox
components render prop (#1822) - Improve
scroll lock
on iOS (#1824) - Fix maximum call stack size exceeded error on
Tab
component when usingas={Fragment}
(#1826) - Fix "blank" screen on initial load of
Transition
component (#1823)