Closed gohabereg closed 5 years ago
Steps:
CMD+Z
() => console.log('CMD+Z')
CMD+SHIFT+Z
Expected: nothing should happened because registered shortcut is CMD+Z, not CMD+SHIFT+Z Actual: Handler is fired
fixed in https://github.com/codex-team/codex.shortcuts/pull/4
Steps:
CMD+Z
and() => console.log('CMD+Z')
as handlerCMD+SHIFT+Z
Expected: nothing should happened because registered shortcut is
CMD+Z
, notCMD+SHIFT+Z
Actual: Handler is fired