react-component / react-component/select
`event.which` is deprecated which causes issues when using @testling-library/user-event v14
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 938
- Forks
- 482
- Avg merge
- 15h 8m
- Merged PRs (30d)
- 2
Description
https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/which
Issue found here - https://github.com/testing-library/user-event/issues/1137
It's recommended to switch over to event.code or event.key instead - https://github.com/testing-library/user-event/issues/842#issuecomment-1019528148
Contributor guide
No contributing guide indexed for this repository
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
The issue names no source file or test. Start by searching the TypeScript codebase for event.which and read the linked user-event reports for the affected behavior. Done means the deprecated event.which usage is replaced with the appropriate event.code or event.key handling and the existing behavior remains covered.
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