You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/components/combobox.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -349,6 +349,8 @@ To prevent the user from scrolling outside of the `Combobox.Content` component w
349
349
350
350
The Combobox component follows the [WAI-ARIA descendant pattern](https://www.w3.org/TR/wai-aria-practices-1.2/#combobox) for highlighting items. This means that the `Combobox.Input` retains focus the entire time, even when navigating with the keyboard, and items are highlighted as the user navigates them.
351
351
352
+
Use the `autoHighlight` prop on `Combobox.Root` to automatically highlight the first matching item after the user filters the list.
353
+
352
354
### Styling Highlighted Items
353
355
354
356
You can use the `data-highlighted` attribute on the `Combobox.Item` component to style the item differently when it is highlighted.
0 commit comments