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 1b1c5c0 commit 411fa55Copy full SHA for 411fa55
client/modules/IDE/components/Editor.jsx
@@ -194,6 +194,7 @@ class Editor extends React.Component {
194
});
195
196
this._cm.on('keydown', (_cm, e) => {
197
+ console.log(e);
198
if (
199
((metaKey === 'Cmd' && e.metaKey) ||
200
(metaKey === 'Ctrl' && e.ctrlKey)) &&
@@ -354,14 +355,14 @@ class Editor extends React.Component {
354
355
`.CodeMirror-hint-active a`
356
);
357
if (activeItem) {
- activeItem.click();
358
+ activeItem.focus();
359
} else {
360
e.pick();
361
}
362
- }
363
+ },
364
+ closeOnUnfocus: false
365
// completeOnSingleClick: false,
- // closeOnUnfocus: false,
366
// closeOnPick: false
367
};
368
0 commit comments