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.07k stars 154 forks source link

[Dropdown] Multiselect (filterable): clicking 'Selected' sets component to "Read-only" instead of "Enabled-selected" #817

Open Kritvi-bhatia17 opened 4 months ago

Kritvi-bhatia17 commented 4 months ago

Detailed description

When the component is in an enabled state, clicking on the 'Selected' option switches it to a read-only state instead of transitioning it to an enabled-selected state.

Steps to reproduce the issue

  1. Remove 'Selected' from the 'state' prop in the component configuration.
  2. Ensure the component is in the enabled state.

Additional information

image

Kritvi-bhatia17 commented 4 months ago

Hi @gcate, tagging you to keep you in the loop. Thank you!

laurenmrice commented 3 months ago

This issue is related to this issue of auditing inconsistent interaction states for dropdown variants: #818. This issue could be potentially closed and the problem documented in the Audit issue.