Releases: tailwindlabs/headlessui
Releases · tailwindlabs/headlessui
@headlessui/[email protected]
Fixed
- Fix SSR tab rendering on React 17 (#2102)
- Fix arrow key handling in
Tab
(after DOM order changes) (#2145) - Fix false positive warning about using multiple
<Popover.Button>
components (#2146) - Fix
Tab
key with non focusable elements inPopover.Panel
(#2147) - Fix false positive warning when using
<Popover.Button />
in React 17 (#2163) - Fix
failed to removeChild on Node
bug (#2164) - Don’t overwrite classes during SSR when rendering fragments (#2173)
- Improve
Combobox
accessibility (#2153) - Fix crash when reading
headlessuiFocusGuard
ofrelatedTarget
in theFocusTrap
component (#2203) - Fix
FocusTrap
inDialog
when there is only 1 focusable element (#2172) - Improve
Tabs
wrapping around when controlling the component and overflowing theselectedIndex
(#2213) - Fix
shadow-root
bug closingDialog
containers (#2217)
Added
- Allow setting
tabIndex
on theTab.Panel
(#2214)
@headlessui/[email protected]
Fixed
- Improve scroll restoration after
Dialog
closes (b20e48dd)
@headlessui/[email protected]
Fixed
- Improve scroll restoration after
Dialog
closes (b20e48dd)
@headlessui/[email protected]
@headlessui/[email protected]
@headlessui/[email protected]
Fixed
- Reset form-like components when the parent
<form>
resets (#2004) - Ensure Popover doesn't crash when
focus
is going towindow
(#2019) - Ensure
shift+home
andshift+end
works as expected in theComboboxInput
component (#2024) - Improve syncing of the
ComboboxInput
value (#2042) - Fix crash when using
multiple
mode withoutvalue
prop (uncontrolled) forListbox
andCombobox
components (#2058) - Allow passing in your own
id
prop (#2060) - Add
null
as a valid type for Listbox and Combobox in Vue (#2064, #2067) - Improve SSR for Tabs in Vue (#2068)
- Ignore pointer events in Listbox, Menu, and Combobox when cursor hasn't moved (#2069)
- Allow clicks inside dialog panel when target is inside shadow root (#2079)
@headlessui/[email protected]
Fixed
- Reset form-like components when the parent
<form>
resets (#2004) - Add warning when using
<Popover.Button />
multiple times (#2007) - Ensure Popover doesn't crash when
focus
is going towindow
(#2019) - Ensure
shift+home
andshift+end
works as expected in theCombobox.Input
component (#2024) - Improve syncing of the
Combobox.Input
value (#2042) - Fix crash when using
multiple
mode withoutvalue
prop (uncontrolled) forListbox
andCombobox
components (#2058) - Apply
enter
andenterFrom
classes in SSR forTransition
component (#2059) - Allow passing in your own
id
prop (#2060) - Fix
Dialog
unmounting problem due to incorrecttransitioncancel
event in theTransition
component on Android (#2071) - Ignore pointer events in Listbox, Menu, and Combobox when cursor hasn't moved (#2069)
- Allow clicks inside dialog panel when target is inside shadow root (#2079)
@headlessui/[email protected]
Fixed
- Move
tailwindcss
todevDependencies
(#2040)
@headlessui/[email protected]
@headlessui/[email protected]
Fixed
- Fix
<Popover.Button as={Fragment} />
crash (#1889) - Expose
close
function forMenu
andMenu.Item
components (#1897) - Fix
useOutsideClick
, add improvements for ShadowDOM (#1914) - Fire
<Combobox.Input>
'sonChange
handler when changing the value internally (#1916) - Add
client-only
to mark everything as client components (#1981)
Added
- Warn when changing components between controlled and uncontrolled (#1878)