fix(number-input): forward keydown, keyup events (#1424)

Fixes #1421

`NumberInput` should forward the keydown and keyup events like other input components.
This commit is contained in:
metonym 2022-08-05 04:50:40 -07:00 committed by GitHub
commit 7fe9b39436
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 0 deletions

View file

@ -2512,6 +2512,8 @@ export type NumberInputTranslationId = "increment" | "decrement";
| mouseover | forwarded | -- |
| mouseenter | forwarded | -- |
| mouseleave | forwarded | -- |
| keydown | forwarded | -- |
| keyup | forwarded | -- |
| focus | forwarded | -- |
| blur | forwarded | -- |
| paste | forwarded | -- |