-
-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
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
the callback is not executed when scope is' all ' #434
Comments
The latest version will appear, version 3.10.2 is normal |
@genguxuanyin Please provide a reproducible example. |
@jaywcjlove When scope is "a", callbacks whose default scope is "all" should also be executed. |
@genguxuanyin You set https://codepen.io/jaywcjlove/pen/KKrXNRY?editors=1010 - hotkeys('delete, command+backspace, backspace', (keyboardEvent, hotkeysEvent) => {
+ hotkeys('delete, command+backspace, backspace', 'a', (keyboardEvent, hotkeysEvent) => { |
I want this shortcut to run on all scopes, but it can't run when I set scope to "a",Or this will not be executed. -hotkeys('delete, command+backspace, backspace', (keyboardEvent, hotkeysEvent) => {
+hotkeys('delete, command+backspace, backspace', 'all', (keyboardEvent, hotkeysEvent) => { https://codepen.io/genguxuanyin/pen/xxQXRXZ |
@genguxuanyin By default, This behavior was fixed in #433, and if not fixed, would cause problems with executing callback methods multiple times. |
In versions 3.10.2, callbacks executed by all scopes could be written using |
@genguxuanyin You need |
@genguxuanyin hi, Have you solved this problem yet ? |
@genguxuanyin I have the same ; How to solve it ? |
@genguxuanyin @qxang upgrade |
Code update here, the key bind callback is not executed when scope is 'all'
The text was updated successfully, but these errors were encountered: