Skip to content

Commit d098293

Browse files
authored
Merge pull request microsoft#85094 from jeanp413/fix-85033
Force blur when disabling input element. Fixes microsoft#85033
2 parents e3ad849 + 2079fd1 commit d098293

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/vs/base/browser/ui/inputbox/inputBox.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ export class InputBox extends Widget {
305305
}
306306

307307
public disable(): void {
308+
this.blur();
308309
this.input.disabled = true;
309310
this._hideMessage();
310311
}

0 commit comments

Comments
 (0)