AlaskaAirlines / auro-combobox

An auroLabs custom element w/an experimental API. You've been warned.
https://auro.alaskaair.com/components/auroLabs
Apache License 2.0
4 stars 1 forks source link

selected state is not applied to selected menu option the first click #184

Open jason-capsule42 opened 2 months ago

jason-capsule42 commented 2 months ago

Please verify the version of auro-combobox you have installed

1.10.1

Please describe the bug

  1. Go to the combobox example that supports checkbox on the docsite
  2. Type the letter "a" to bring up the options
  3. Click on any example - note that at this time no check mark is shown
  4. close the bib
  5. reopen the bib and note that there is still no checkmark
  6. click on the same option again and see the checkmark is shown

For some reason even though the value of the combobox is getting set right, the "selected" attribute is not getting placed on the menu option until the second time it is clicked on.

Reproducing the error

This issue is reproducible on the Auro docsite

Expected behavior

Selected state should apply on first click

What browsers are you seeing the problem on?

No response

Additional context

No response

Exit criteria

No response