JedWatson / JedWatson/react-select
Custom control for select not working properly on mobile
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 28k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
Hi!
I've tried to implement custom control which I found in docs.
This one:
https://codesandbox.io/s/5yee5t?module=/example.tsx&file=/example.tsx
This example works properly only on desktop. If I open this codesandbox link on mobile, click will only trigger focus on select, an emoji won't be changed. However on desktop and in codesandbox responsive mode emoji is changed on click.
react-select: 5.7.0
it reproduces both in Safari and Chrome
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 example.tsx and reproduce the custom control behavior on mobile Safari and Chrome, then compare it with desktop and responsive mode. Done means clicking the select changes the emoji on mobile as it does in the working environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100