JedWatson / JedWatson/react-select
AsyncSelect with multiselect with closeMenuOnSelect unexpectedly closes menu.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 28k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
Async Multi Select dropdown is collapsed when click on checkbox label in custom components.Option component, that should not be expected when using closeMenuOnSelect={false} hideSelectedOptions={false}.
Code example:
https://codesandbox.io/s/codesandboxer-example-forked-zhpeew?file=/example.tsx
Recording:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked CodeSandbox at example.tsx and reproduce the Async Multi Select behavior using a custom components.Option. Check the interaction between the checkbox label and closeMenuOnSelect={false} with hideSelectedOptions={false}. Done means clicking the checkbox label leaves the menu open while preserving multiselect behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100