reactjs / reactjs/react.dev

onKeyPress documentation

Open
#2,713 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
11.8k
Forks
7.9k
Avg merge
1d 11h
Merged PRs (30d)
11

Description

https://reactjs.org/docs/events.html#keyboard-events

This section incorrectly describes the keyboard events available with synthetic events. Specifically, onKeyPress events are not generated for the arrow keys utilizing chrome Version 79.0.3945.130

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

Read the Keyboard Events section at the linked React documentation page and verify the statement about synthetic onKeyPress events for arrow keys in Chrome. Update the documentation so its description matches the observed behavior, then confirm the revised section accurately describes the available keyboard events.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.