JedWatson / JedWatson/react-select
Keydown events not working on custom Control Component
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 28k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to use my own editor(Tiptap editor) as the custom editor for the control component. Doing so pressing the space bar selects the first option, backspace key doesn't delete characters and pressing enter on an option doesn't select the option. Is there any solution for this?
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 issue with a Tiptap editor used as react-select's custom Control component, focusing on Space, Backspace, and Enter key handling. Inspect the Control component's keyboard-event path and compare behavior with the standard control; done means all three keys work correctly without breaking option selection.
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
- Needs clarification
- Newbie friendliness
- 25/100