提交 6fa22664 编写于 作者: J Joao Moreno

fixes #21153

上级 3bf74415
......@@ -167,6 +167,10 @@ export class SuggestController implements IEditorContribution {
}
this.model.cancel();
// The list will possibly get focus due to a mouse click
// so we need to get it back to the editor on the next frame.
setTimeout(() => this.editor.focus(), 0);
}
triggerSuggest(): void {
......
......@@ -416,8 +416,6 @@ export class SuggestWidget implements IContentWidget, IDelegate<ICompletionItem>
this.onDidSelectEmitter.fire(item);
alert(nls.localize('suggestionAriaAccepted', "{0}, accepted", item.suggestion.label));
this.editor.focus();
}
private _getSuggestionAriaAlertLabel(item: ICompletionItem): string {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册