Skip to content

Releases: tailwindlabs/headlessui

@headlessui/[email protected]

27 Jan 16:26
b3a0ccb
Compare
Choose a tag to compare

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 in Popover.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 of relatedTarget in the FocusTrap component (#2203)
  • Fix FocusTrap in Dialog when there is only 1 focusable element (#2172)
  • Improve Tabs wrapping around when controlling the component and overflowing the selectedIndex (#2213)
  • Fix shadow-root bug closing Dialog containers (#2217)

Added

  • Allow setting tabIndex on the Tab.Panel (#2214)

@headlessui/[email protected]

16 Dec 16:40
404c509
Compare
Choose a tag to compare

Fixed

  • Improve scroll restoration after Dialog closes (b20e48dd)

@headlessui/[email protected]

16 Dec 16:40
b7c9e57
Compare
Choose a tag to compare

Fixed

  • Improve scroll restoration after Dialog closes (b20e48dd)

@headlessui/[email protected]

15 Dec 16:36
79818fc
Compare
Choose a tag to compare

Fixed

  • Fix regression where displayValue crashes (#2087)
  • Fix displayValue syncing when Combobox.Input is unmounted and re-mounted in different trees (#2090)
  • Fix FocusTrap escape due to strange tabindex values (#2093)
  • Improve scroll locking on iOS (#2100, 28234b0e)

@headlessui/[email protected]

15 Dec 16:36
92e9302
Compare
Choose a tag to compare

Fixed

  • Fix regression where displayValue crashes (#2087)
  • Fix displayValue syncing when Combobox.Input is unmounted and re-mounted in different trees (#2090)
  • Fix FocusTrap escape due to strange tabindex values (#2093)
  • Improve scroll locking on iOS (#2100, 28234b0e)

@headlessui/[email protected]

08 Dec 22:19
426cbf3
Compare
Choose a tag to compare

Fixed

  • Reset form-like components when the parent <form> resets (#2004)
  • Ensure Popover doesn't crash when focus is going to window (#2019)
  • Ensure shift+home and shift+end works as expected in the ComboboxInput component (#2024)
  • Improve syncing of the ComboboxInput value (#2042)
  • Fix crash when using multiple mode without value prop (uncontrolled) for Listbox and Combobox 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]

08 Dec 22:20
326a43f
Compare
Choose a tag to compare

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 to window (#2019)
  • Ensure shift+home and shift+end works as expected in the Combobox.Input component (#2024)
  • Improve syncing of the Combobox.Input value (#2042)
  • Fix crash when using multiple mode without value prop (uncontrolled) for Listbox and Combobox components (#2058)
  • Apply enter and enterFrom classes in SSR for Transition component (#2059)
  • Allow passing in your own id prop (#2060)
  • Fix Dialog unmounting problem due to incorrect transitioncancel event in the Transition 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]

06 Dec 08:03
2f0dc8c
Compare
Choose a tag to compare

Fixed

  • Move tailwindcss to devDependencies (#2040)

@headlessui/[email protected]

03 Nov 15:22
74e7b43
Compare
Choose a tag to compare

Fixed

  • Expose close function for Menu and MenuItem components (#1897)
  • Fix useOutsideClick, add improvements for ShadowDOM (#1914)
  • Prevent default slot warning when using a component for as prop (#1915)
  • Fire <ComboboxInput>'s @change handler when changing the value internally (#1916)

@headlessui/[email protected]

03 Nov 15:23
74e7b43
Compare
Choose a tag to compare

Fixed

  • Fix <Popover.Button as={Fragment} /> crash (#1889)
  • Expose close function for Menu and Menu.Item components (#1897)
  • Fix useOutsideClick, add improvements for ShadowDOM (#1914)
  • Fire <Combobox.Input>'s onChange 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)