Skip to content
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

Feature Request: Keep multiple-select window open after selection #214

Closed
glass-ships opened this issue Sep 26, 2024 · 0 comments
Closed
Labels
enhancement New feature or request

Comments

@glass-ships
Copy link

See title.

Current behavior, when selecting an option from multiple-select dropdown, the menu closes requiring the user to either start typing or click chevron again.

Seeing as the use-case for this component is being able to select multiple options, it would be nice if the dropdown remained open until losing focus, whether by clicking away from menu, or by pressing escape

@irsyadadl irsyadadl added the enhancement New feature or request label Sep 26, 2024
vishwamartur added a commit to vishwamartur/justd that referenced this issue Nov 4, 2024
Related to irsyadadl#214

Update `MultipleSelect` component to keep the dropdown open after selection.

* Add `shouldCloseOnBlur={false}` to `Popover.Picker` to prevent closing on blur.
* Modify `onSelectionChange` function to keep the dropdown open after setting the selected key and input value.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/justdlabs/justd/issues/214?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants