NewAI Enhanced
@headlessui/react@v2.2.9
Fixes
- Shadow DOM focus management improved
- Combobox no longer opens unintentionally on mobile touch while dragging
- Sibling Dialog components now scrollable on mobile
- Combobox type inference from
onChangehandler signature - Home/End keys work normally in closed Combobox inputs
- Dialog interactions work reliably on iOS after disallowed area interaction
- Listbox values frozen immediately on selection
- Refs properly forwarded when data is frozen
- React components no longer serialized into form fields
Fixed
- Improve focus management in shadow DOM roots (#3794)
- Don't accidentally open the
Comboboxwhen touching theComboboxButtonwhile dragging on mobile (#3795) - Ensure sibling
Dialogcomponents are scrollable on mobile (#3796) - Infer
Comboboxtype based ononChangehandler (#3798) - Allow home/end key default behavior inside
ComboboxInputwhenComboboxis closed (#3798) - Ensure interacting with a
Dialogon iOS works after interacting with a disallowed area (#3801) - Freeze Listbox values as soon as a value is selected (#3802)
- Ensure refs are forwarded when freezing data (#3390)
- Do not serialize React components into form fields (49e9e8e)