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

@ -148,6 +148,8 @@ export default class NumberInput extends SvelteComponentTyped<
mouseover: WindowEventMap["mouseover"];
mouseenter: WindowEventMap["mouseenter"];
mouseleave: WindowEventMap["mouseleave"];
keydown: WindowEventMap["keydown"];
keyup: WindowEventMap["keyup"];
focus: WindowEventMap["focus"];
blur: WindowEventMap["blur"];
paste: DocumentAndElementEventHandlersEventMap["paste"];