We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
The callback gets called incorrectly on mac.
Example code
keyboardJS.bind('c', () => console.log('c called!'));
c
shift + c
command + c
Here: https://jsfiddle.net/p7Lbz9uh/
Expected behavior
Enviroment (please include the following info):
Additional context
When I do:
keyboardJS.bind('c', () => console.log('c got called!')); keyboardJS.bind('command + c', () => console.log('command + c got called!'));
The correct callback gets called, but shift + c will still say c got called!, but when I do:
c got called!
keyboardJS.bind('c', () => console.log('c got called!')); keyboardJS.bind('command + c', () => console.log('command + c got called!')); keyboardJS.bind('shift + c', () => console.log('shift + c got called!'));
The bug is not existent. https://jsfiddle.net/p7Lbz9uh/1/
The text was updated successfully, but these errors were encountered:
RobertWHurst
No branches or pull requests
Describe the bug
The callback gets called incorrectly on mac.
Example code
c
, it gets called, which is correct.shift + c
, it gets called, which is incorrect.command + c
, it gets called, which is incorrect.Here: https://jsfiddle.net/p7Lbz9uh/
Expected behavior
shift + c
, the callback should not be called.command + c
, the callback should not be called.Enviroment (please include the following info):
Additional context
When I do:
The correct callback gets called, but
shift + c
will still sayc got called!
, but when I do:The bug is not existent. https://jsfiddle.net/p7Lbz9uh/1/
The text was updated successfully, but these errors were encountered: