github tailwindlabs/headlessui @headlessui/react@v1.7.0

latest releases: @headlessui/react@v2.1.8, @headlessui/react@v2.1.7, @headlessui/react@v2.1.6...
2 years ago

Added

  • Add by prop for Listbox, Combobox and RadioGroup (#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 using tab 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 to onClick 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 the Combobox component (#1750)
  • Improve the types of the Combobox component (#1761)
  • Only restore focus to the Menu.Button if necessary when activating a Menu.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 and Combobox.Option components (#1812)
  • Fix ref stealing from children (#1820)
  • Expose the value from the Combobox and Listbox components render prop (#1822)
  • Improve scroll lock on iOS (#1824)
  • Fix maximum call stack size exceeded error on Tab component when using as={Fragment} (#1826)
  • Fix "blank" screen on initial load of Transition component (#1823)

Don't miss a new headlessui release

NewReleases is sending notifications on new releases.