carbon-design-system / carbon-design-kit

A versioned, comprehensive kit of the Carbon Design System visual assets (components, icons, pictograms, text styles, color styles, grid templates).
Apache License 2.0
1.06k stars 154 forks source link

[Dropdown] Audit inconsistent state transitions for all variants #818

Open Kritvi-bhatia17 opened 1 month ago

Kritvi-bhatia17 commented 1 month ago

Detailed description

There are several inconsistent state transitions across the dropdown, combobox, and multiselect components in Figma that need to be resolved.


Filterable Multiselect (default style)

  1. [FOCUS] In the enabled state:

    Clicking on "Selected" transitions to "Selected+Focus" instead of solely "Selected". Toggling off "Selected" redirects to the "Focus (Enabled)" state rather than returning to the "Enabled" state.

    Screen Recording 2024-05-20 at 2 19 39 PM (1)


Dropdown (fluid style)

  1. [OPEN] In the enabled state:

    Clicking on "Open" transitions to "Focused Selected", but closing it returns to "Focused (Collapsed)".

    Screen Recording 2024-05-20 at 2 34 59 PM (1)


Dropdown (default style)

  1. When you open the Dropdown, and click the “Selected” toggle in the right panel, the top field indicate an option has been selected, but the option in the menu only gets a focus state and a text color change, and no selection background state or checkmark icon in it.

    May-20-2024 10-32-37


Combobox (default style)

  1. When you open the Combobox, it directly puts you into an error state. This should not be an error state and is causing confusion to our users.

    error combobox