Open dandclark opened 4 years ago
Could this be a separate <listbox>
element, for example? I've always found it strange that <select>
has two very different UIs depending on selection mode.
I've always found it strange that
<select>
has two very different UIs depending on selection mode.
Related WICG issue: https://discourse.wicg.io/t/select-should-render-the-same-with-or-without-the-multiple-attribute/5714
There hasn't been any discussion on this issue for a while, so we're marking it as stale. If you choose to kick off the discussion again, we'll remove the 'stale' label.
I think that we are going to have to rearchitect the anatomy for select multiple when it comes time to start designing it as an upgrade for <select multiple>
.
There hasn't been any discussion on this issue for a while, so we're marking it as stale. If you choose to kick off the discussion again, we'll remove the 'stale' label.
<select>
anatomy shouldn't have a button slot or part when it's in the 'multiple' state.<select multiple>
, e.g. Shift+Up to add the above option to the selection, or control+click to toggle selection on that option. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#Selecting_multiple_options