JedWatson / JedWatson/react-select

Async select: inputChange bug

Open
#4,966 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

issue/bug-confirmed
Dominant language
TypeScript
Stars
28k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

https://react-select.com/async bug on this page and in my project

  1. Write "o"
  2. Wait for an answer
  3. Add "c" and quickly erase "c"

As a result, the list of options will contain the result from entering "oc", but not "o". Works only on fresh load

Video
https://youtu.be/jncTy-yxers

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

Reproduce the sequence on the linked Async Select documentation page, then trace the async input-change handling that processes the typed and erased values. Compare the options after a quick edit and erase with the latest input, and consider the reproduction complete when the list no longer remains on the intermediate "oc" result.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.