feat: stop event propagation when key handled (#5091)
* feat: stop event propagation when key handled * don't handle s/g shortcuts if cmd/ctrl/alt pressed
This commit is contained in:
@ -117,6 +117,7 @@ export class ActionManager {
|
||||
trackAction(action, "keyboard", appState, elements, this.app, null);
|
||||
|
||||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
this.updater(data[0].perform(elements, appState, value, this.app));
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user