New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MultiSelect] support closeOnSelect #3364
Comments
Not sure if that would be good UX... why would you want to close a multi select after only one interaction? |
In my use case, it is a valid state after having one or more items been added to the multiSelect. But now users have to click somewhere else to close the multiSelect dropdown before working on something else. By having a |
What if the user wants to select multiple items, since it is, in fact, a multi select dropdown? They have to endure an additional click to re-open the dropdown. |
Right, then a configurable |
The idea still feels kind of unintuitive to me; are there any examples in the wild which use that UX? Most other UI kits I've seen keep the dropdown open, but it does look like react-select's multi select example closes the dropdown after one interaction. Any thoughts @pkwi? Should we accept a PR to add this prop? Could you see a use for it in Palantir apps? |
In our use case, selecting one or two items consumes 90% of the cases:
So I think it is valuable to have the option of configurable |
@adidahiya I doubt we will have a use for this internally. For us, it is important that items are selected/removed quickly from the list. |
+1 on the last comment, We have a Select component backed by BP's MultiSelect, but it accepts single or multiple selections. We want to be able to |
use this inside your
|
Environment
Feature request
There is
closeOnSelect
props onsuggest
. Could we support it onMultiSelect
too?Examples
The text was updated successfully, but these errors were encountered: