Get focus to dock tab content after resize (#935)

Signed-off-by: Yangjun Wang <yangjun.wang@wartsila.com>

Co-authored-by: Yangjun Wang <yangjun.wang@wartsila.com>
This commit is contained in:
Yangjun WangandYangjun Wang authored and GitHub committed 2020-09-21 16:37:20 +03:00
1 parent 25aac57a86
commit 44190c7321
2 files changed
+2

No files matched your search

@@ -48,6 +48,7 @@ export class EditorPanel extends React.Component<Props> {
onResize = () => {
this.editor.resize();
this.editor.focus();
}
onCursorPosChange = (pos: Ace.Point) => {
+1
View File
@@ -152,6 +152,7 @@ export class Terminal {
onResize = () => {
if (!this.isActive) return;
this.fitLazy();
this.focus();
}
onActivate = () => {