Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

event.keyCode is deprecated #5

Open
mediafreakch opened this issue Feb 7, 2023 · 0 comments
Open

event.keyCode is deprecated #5

mediafreakch opened this issue Feb 7, 2023 · 0 comments

Comments

@mediafreakch
Copy link

This library relies on event.keyCode to determine the keys pressed when using the keyboard. This property is deprecated and shouldn't be used anymore.

The widely used testing-library/user-event package has removed support for keyCodes in v14, which makes tests using the keyboard for vue2-timepicker and vue3-timepicker fail.

There's a workaround for anyone affected by this in the meantime. Every key pressed needs to be mapped (including numbers, not just special keys).

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

No branches or pull requests

1 participant