提交 6511d05e 编写于 作者: J Joao Moreno

fixes #53773

上级 0d605987
......@@ -601,7 +601,11 @@ export class SuggestWidget implements IContentWidget, IDelegate<ICompletionItem>
} else {
removeClass(this.element, 'docs-side');
}
}).catch(onUnexpectedError).then(() => this.currentSuggestionDetails = null);
}).catch(onUnexpectedError).then(() => {
if (this.focusedItem === item) {
this.currentSuggestionDetails = null;
}
});
// emit an event
this.onDidFocusEmitter.fire({ item, index, model: this.completionModel });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册