Open kapiljaveri opened 10 months ago
https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/which
Issue found here - https://github.com/testing-library/user-event/issues/1137
It's recommended to switch over to event.code or event.key instead - https://github.com/testing-library/user-event/issues/842#issuecomment-1019528148
event.code
event.key
Probably looks like we also need to change - https://github.com/react-component/util/blob/master/src/KeyCode.ts
https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/which
Issue found here - https://github.com/testing-library/user-event/issues/1137
It's recommended to switch over to
event.code
orevent.key
instead - https://github.com/testing-library/user-event/issues/842#issuecomment-1019528148