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
Hello,
When adding options the callback is not working any more in React 18.2.0
React 18.2.0
Adding it like this: hotkeys('esc', () => console.log('test')); works fine.
hotkeys('esc', () => console.log('test'));
Adding it like this: hotkeys('esc', 'scope', () => console.log('test')); or hotkeys('esc', { scope: 'scope' }, () => console.log('test')); doesn't work.
hotkeys('esc', 'scope', () => console.log('test'));
hotkeys('esc', { scope: 'scope' }, () => console.log('test'));
Somehow the callback isn't triggered then
The text was updated successfully, but these errors were encountered:
@justin-betty
hotkeys.setScope('scope');
Sorry, something went wrong.
No branches or pull requests
Hello,
When adding options the callback is not working any more in
React 18.2.0
Adding it like this:
hotkeys('esc', () => console.log('test'));
works fine.Adding it like this:
hotkeys('esc', 'scope', () => console.log('test'));
orhotkeys('esc', { scope: 'scope' }, () => console.log('test'));
doesn't work.Somehow the callback isn't triggered then
The text was updated successfully, but these errors were encountered: