Skip to content

Commit

Permalink
Do not auto focus on ios
Browse files Browse the repository at this point in the history
fixes #127832
  • Loading branch information
isidorn committed Aug 16, 2021
1 parent 51c39d0 commit bb33171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/browser/layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1486,7 +1486,7 @@ export abstract class Layout extends Disposable implements IWorkbenchLayoutServi
let focusEditor = false;
if (hidden && this.panelService.getActivePanel()) {
this.panelService.hideActivePanel();
focusEditor = true;
focusEditor = isIOS ? false : true; // Do not auto focus on ios #127832
}

// If panel part becomes visible, show last active panel or default panel
Expand Down

0 comments on commit bb33171

Please sign in to comment.