提交 226b6118 编写于 作者: S SteVen Batten

fixes #74617

上级 483e48d8
...@@ -389,8 +389,6 @@ export class InputBox extends Widget { ...@@ -389,8 +389,6 @@ export class InputBox extends Widget {
let div: HTMLElement; let div: HTMLElement;
let layout = () => div.style.width = dom.getTotalWidth(this.element) + 'px'; let layout = () => div.style.width = dom.getTotalWidth(this.element) + 'px';
this.state = 'open';
this.contextViewProvider.showContextView({ this.contextViewProvider.showContextView({
getAnchor: () => this.element, getAnchor: () => this.element,
anchorAlignment: AnchorAlignment.RIGHT, anchorAlignment: AnchorAlignment.RIGHT,
...@@ -426,6 +424,8 @@ export class InputBox extends Widget { ...@@ -426,6 +424,8 @@ export class InputBox extends Widget {
}, },
layout: layout layout: layout
}); });
this.state = 'open';
} }
private _hideMessage(): void { private _hideMessage(): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册