Skip to content

fix(keypress): support android backspace in onKeyDown event - #892

Open
shbov wants to merge 1 commit into
s-yadav:masterfrom
shbov:fix-android-keypress-backspace
Open

fix(keypress): support android backspace in onKeyDown event#892
shbov wants to merge 1 commit into
s-yadav:masterfrom
shbov:fix-android-keypress-backspace

Conversation

@shbov

@shbov shbov commented Dec 11, 2025

Copy link
Copy Markdown

Describe the issue/change

On Huawei devices, pressing backspace on the virtual keyboard does nothing because the emitted event is different from the standard Backspace event.

Add CodeSandbox link to illustrate the issue (If applicable)

In the project’s sandbox on Huawei devices, pressing backspace on the virtual keyboard does nothing because the emitted event differs from the standard Backspace event.

Describe the changes proposed/implemented in this PR

Added support for keyCode 229, which is used as a Backspace event on some Android devices (e.g., Huawei).

Please check which browsers were used for testing

  • Chrome
  • Chrome (Android)
  • Safari (OSX)
  • Safari (iOS)
  • Firefox
  • Firefox (Android)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant