You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These should be updated to use the code or key property instead.
You should avoid using this if possible; it's been deprecated for some time. Instead, you should use KeyboardEvent.code (for the physical key pressed) or KeyboardEvent.key (for the character the key maps to). Check compatibility for either property if you target very old browsers.
This is causing problems using testing library to test the interactions in this components because they no longer support keyCode in keyboard events.
It looks like they keyboard interaction handlers in utils are based on the
keyCode
property, which is deprecated.https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode
These should be updated to use the
code
orkey
property instead.This is causing problems using testing library to test the interactions in this components because they no longer support keyCode in keyboard events.
testing-library/user-event#842 (comment)
The text was updated successfully, but these errors were encountered: