We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d6ef71 commit a73e1c0Copy full SHA for a73e1c0
src/navigation_controller.ts
@@ -404,7 +404,9 @@ export class NavigationController {
404
enter: {
405
name: Constants.SHORTCUT_NAMES.MARK, // FIXME
406
preconditionFn: (workspace) => this.canCurrentlyEdit(workspace),
407
- callback: (workspace) => {
+ callback: (workspace, event) => {
408
+ event.preventDefault();
409
+
410
let flyoutCursor;
411
let curNode;
412
let nodeType;
@@ -435,7 +437,7 @@ export class NavigationController {
435
437
return false;
436
438
}
439
},
- keyCodes: [KeyCodes.ENTER],
440
+ keyCodes: [KeyCodes.ENTER, KeyCodes.SPACE],
441
442
443
/**
0 commit comments