Fixes Microsoft/monaco-editor#254: The view should assume it is focused only if focusing the textarea succeeded

This commit is contained in:
Alex Dima
2017-01-13 11:59:19 +01:00
parent 1e5714d5c7
commit 986933afab
4 changed files with 18 additions and 16 deletions
@@ -157,7 +157,7 @@ export class KeyboardHandler extends ViewEventHandler implements IDisposable {
}
public focusTextArea(): void {
this.textAreaHandler.writePlaceholderAndSelectTextAreaSync();
this.textAreaHandler.focusTextArea();
}
public onConfigurationChanged(e: editorCommon.IConfigurationChangedEvent): boolean {