We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c404133 + 0384d0d commit ed74bfaCopy full SHA for ed74bfa
src/vs/workbench/browser/parts/editor/editorPart.ts
@@ -377,7 +377,7 @@ export class EditorPart extends Part implements IEditorPart {
377
return; // need at least 2 groups to be maximized
378
}
379
this.gridWidget.maximizeView(target);
380
- this.doSetGroupActive(target);
+ target.focus();
381
break;
382
case GroupsArrangement.EXPAND:
383
this.gridWidget.expandView(target);
@@ -403,6 +403,8 @@ export class EditorPart extends Part implements IEditorPart {
403
404
private unmaximizeGroup(): void {
405
this.gridWidget.exitMaximizedView();
406
+ // When making views visible the focus can be affected, so restore it
407
+ this._activeGroup.focus();
408
409
410
private hasMaximizedGroup(): boolean {
0 commit comments