-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calcite-Combobox > Focus item in dropdown displays gray active dot #6245
Comments
Thanks for opening @richiecarmichael - @ashetland @SkyeSeitz can we take a look at this? I agree it may be confusing. Additionally, our behavior between Dropdown and Combobox are different. In Dropdown, hover shows the grey dot, while focus does not. In Combobox, hovering shows no dot, but focusing does. It seems like adopting the Dropdown approach in Combobox could solve potential confusion: Additionally (may be a separate issue) - Dropdown automatically focuses the first (or only) selected item in the list, Combobox always seems to focus the first item whether there is an existing selection or not. Should we address that as well? |
I agree that adopting the Dropdown approach would help here and also improve consistency. The focus issue is something we could dig into separately. |
This is included in a larger epic #7733 |
Re: focus order, for Combobox it might make sense to default to focusing the last item selected in order to prioritize keeping selected items in view? |
Installed and assigned for verification. |
Description
The calcite combobox dropdown menu displays the currently selected item with a small blue dot (see "Carrot" below). The first item in the dropdown always has focus and is displayed with a blue outline and small gray dot (see "Apple" below).
The small gray dot next to Apple could be confusing to the user. Some users might this is it the default value, or perhaps original value.
// @adam
Acceptance Criteria
Refer to the Figma file.
foreground.3 bg
on:pressed
combobox-item
:focus
Relevant Info
No response
Which Component
Combobox
Example Use Case
Multiple Selection
Single Selection
Esri team
ArcGIS Maps SDK for JavaScript
The text was updated successfully, but these errors were encountered: