Fix missing focus on editor when dialog loaded (#2799)

This commit is contained in:
yosilevy 2019-02-19 19:12:05 +02:00 committed by Paulus Schoutsen
parent 90c09e967a
commit 8a9594d918

View File

@ -201,6 +201,7 @@ export class HuiEditCard extends LitElement {
afterNextRender(() => {
this.yamlEditor.codemirror.refresh();
this._resizeDialog();
this.yamlEditor.codemirror.focus();
});
}
}