ariakit@2.0.0-next.39
Pre-releaseMinor Changes
-
Improved support for
CompositeItemrendered as a link. This includesComboboxItem,MenuItem, andSelectItemcomponents. (#1736)Now clicking on
<a>items with a mouse or keyboard while pressingmetaKey(macOS) orctrlKey(PC) opens the link in a new tab as expected. Popovers won't close andSelect/Comboboxvalues won't change when clicking with those modifiers. -
The
roleattribute onMenuButton, when inside another menu, is now based on the popover role instead of being alwaysmenuitem. (#1728)
Patch Changes
-
Fixed
Collectionitems order when adding items from start. (#1748) -
Fixed
Comboboxnot calling theonKeyDownprop when pressing printable keys. (#1739) -
Fixed
Hovercardprematurely hiding when moving mouse to it when the card is positioned diagonally to the anchor. (#1742) -
Fixed
aria-labelledbyattribute onMenunot pointing to the correct element when usingMenuHeading. (#1737) -
Fixed
TabwithdefaultSelectedIdon React 17. (#1724) -
Updated dependencies:
ariakit-utils@0.17.0-next.25.