open-ui icon indicating copy to clipboard operation
open-ui copied to clipboard

Rendering of select with multiple

Open richarddunnebsc opened this issue 2 years ago • 5 comments

The select with multiple, depending on the height, may or may not have a scrollbar. Given a height of 40 or 50 px for example, the select with multiple effectively has no scrollbar, just up and down arrow keys. A scrollbar is much faster for finding/selecting an option as with select without multiple. If allowing multiple, is there a necessity to display multiple/all options?
On a webpage containing a select with multiple, it is reasonable to expect that the user will be given a written cue that multiple options can be selected, that clicking outside will close the select. For these reasons I propose that the select with multiple render the same as without it, the only difference, the ability to select multiple options without closing, clicking outside closes the select.

richarddunnebsc avatar Jan 20 '22 19:01 richarddunnebsc

in general i would agree with this, so long as there is also a stand-alone listbox element which could also allow for single or multiple selection.

scottaohara avatar Jan 20 '22 19:01 scottaohara

@scottaohara If you are talking about a select without multiple, yes, otherwise, I'm a bit confused, would like to see a rendering to see what you're describing.

richarddunnebsc avatar Jan 20 '22 20:01 richarddunnebsc

per

On a webpage containing a select with multiple, it is reasonable to expect that the user will be given a written cue that multiple options can be selected, that clicking outside will close the select. For these reasons I propose that the select with multiple render the same as without it, the only difference, the ability to select multiple options without closing, clicking outside closes the select.

I am interpreting you as saying that whether a select allows for single or multiple selection, it would render as a control (button) that invokes a listbox popup

I am saying that I think that's a good idea, so long as people can also have a single or multiple select listbox that is not a popup.

scottaohara avatar Jan 21 '22 03:01 scottaohara

Ok, I get what you are saying. I appreciate the support for the idea.

richarddunnebsc avatar Jan 21 '22 08:01 richarddunnebsc

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.

github-actions[bot] avatar Jul 21 '22 00:07 github-actions[bot]