JedWatson / JedWatson/react-select
Using menuIsOpen react-select with react-window Need Click twice to select options
Open
Nobody has claimed this yet.
issue/bug-unconfirmed
- Dominant language
- TypeScript
- Stars
- 28k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
I'm using react-select with react-window and most of the time it works perfect.
But if I enable menuIsOpen prop, it needs to click twice to select option. (https://codesandbox.io/s/bvaughn-react-window-integration-with-react-select-forked-9gnehi?file=/index.js)
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 reproduction, especially index.js, and compare option selection with and without the menuIsOpen prop while using react-window. Done means an option can be selected with one click when menuIsOpen is enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100