JedWatson / JedWatson/react-select
Cursor indicator not showing on click with openMenuOnClick={false}
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 28k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
I am encountering a bug when using the async select component with the prop openMenuOnClick={false}. When clicking on the field after selecting a value, despite being searchable, the cursor indicator does not appear until I start typing.
I have tried searching for similar issues on GitHub and while I found many that were similar, none of the solutions provided solved my problem. I also tried simplifying my implementation and even tested it on a code-sandbox with just React and react-select, but the problem still persisted.
I believe this is a bug in the react-select component and would like to report it.
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 by reproducing the behavior in the linked CodeSandbox with the async select component and openMenuOnClick={false}. Trace the searchable field's click and cursor-indicator behavior after a value is selected; done means the cursor indicator appears immediately on click without typing.
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
- 35/100