JedWatson / JedWatson/react-select
onInputChange doesn't execute on <Select /> when options length is more than 1000 items
Open
Nobody has claimed this yet.
awaiting-author-response
- Dominant language
- TypeScript
- Stars
- 28k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
Related Issue: https://github.com/JedWatson/react-select/issues/3128
How to reproduce:
- Create an options prop with over 3k items (It fails randomly with less but never worked over this length).
- Pass the options prop to a instance. Pass an onInputChange function to the same instance. Try to type some input. It won't execute the function and you'll see similar violation logs as in the related issue.
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
Reproduce the issue with a Select component, more than 3,000 options, and an onInputChange handler, then inspect the input-handling entry point used while typing. Confirm the failure and violation logs before changing anything; done means the handler executes reliably for large option lists without the reported violations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100