JedWatson / JedWatson/react-select

Using menuIsOpen react-select with react-window Need Click twice to select options

Open
#5,315 3 comments 3 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.