compassion-global-experience / compassion-design-system

Compassion International's Global Design System
https://designwithcompassion.com
MIT License
6 stars 6 forks source link

Entire `select` visual element should be clickable #185

Open kendrick opened 1 year ago

kendrick commented 1 year ago

selects don’t occupy the entire size of their container, meaning the padding around them is unclickable even though it’s visually part of an element that appears interactive. Additionally, the dropdown icon is the select‘s sibling in the DOM, and doesn’t trigger the select when it’s clicked. In other words, clicking anywhere in the visual element should behave as a click on the select (without involving JavaScript).

Export-1691769481951