提交 10309701 编写于 作者: M Matt Bierner

Don't show webview overlay by default

If there is an error while resolving the webview itself, this invisible container can end sticking around incorrectly until the input it destoryed. Better to make sure it is hidden so that it doesn't block user input
上级 f137abf2
......@@ -47,6 +47,7 @@ export class DynamicWebviewEditorOverlay extends Disposable implements WebviewEd
public get container() {
const container = document.createElement('div');
container.id = `webview-${this.id}`;
container.style.visibility = 'hidden';
this._layoutService.getContainer(Parts.EDITOR_PART).appendChild(container);
return container;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册