Closed damusnet closed 6 months ago
same here, commenting out that line:
// if (!(keys != null && keys.includes(keyCode)) && !['ctrl', 'control', 'unknown', 'meta', 'alt', 'shift', 'os'].includes(keyCode)) {
// console.log("elmoo");
// return false;
// }
in isHotkeyMatchingKeyboardEvent()
fix the issue, if that helps
happens is firefox / chrome - linux and macos
I've managed to log that before this condition execute, and I'm not sure why "right" is in keys, maybe some memoization issue 🤷🏻
{"pressedKey":"delete","keyCode":"","keys":["right"]}
downgrading to 4.4.1 fixed the issue, all good 👍🏻
Hmh, weird. I'll have a look into it.
Weirdly enough only Shift+?
works for me, the other two don't register.
Fixed in 4.4.4
Thank you for looking into this.
After updating the CodeSandbox to 4.4.4
: shift+?
and shift+minus
now both work, but shift+plus
still doesn't.
Note also that on a extended keyboard with separate numpad, neither shift+plus
nor shift+minus
work.
Describe the bug
shit+?
andshift+plus,shift+bracketright
used to work, now they don'tTo Reproduce Steps to reproduce the behavior:
shift+?
,shift+plus
,shift+minus
(with+
and-
keys respectively)shift+minus
will log to the consoleExpected behavior Existing shortcuts should still work
Screenshots
Desktop (please complete the following information):