When there are preferredCountries set, they appear twice in the dropdown resulting in the same label being duplicated. It might make sense if when a country is set as default, it gets removed from the list underneath.
Thanks for the feedback. Currently, I'm the only one who is maintaining this library :)
I will keep this in mind! Please submit a PR if you do any fixes from your side.
Thanks for the great library. We had an accessibility audit couple of issues for this library popped up:
the combobox may not be the optimal aria role (since there is no text input). Recommended pattern is the button menu: https://www.w3.org/TR/wai-aria-practices-1.1/examples/menu-button/menu-button-actions-active-descendant.html
When there are preferredCountries set, they appear twice in the dropdown resulting in the same label being duplicated. It might make sense if when a country is set as default, it gets removed from the list underneath.
Thanks!