mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Focus after calling handle focused changed (#228330)
focus after calling handle focused changed
This commit is contained in:
committed by
GitHub
parent
8bb2e41e2e
commit
20d5971ddb
@@ -34,10 +34,10 @@ export class FocusTracker extends Disposable {
|
||||
}
|
||||
|
||||
public focus(): void {
|
||||
this._domNode.focus();
|
||||
// fixes: https://github.com/microsoft/vscode/issues/228147
|
||||
// Immediately call this method in order to directly set the field isFocused to true so the textInputFocus context key is evaluated correctly
|
||||
this._handleFocusedChanged(true);
|
||||
this._domNode.focus();
|
||||
}
|
||||
|
||||
get isFocused(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user