We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b85061a commit 635fc32Copy full SHA for 635fc32
1 file changed
src/vs/workbench/browser/parts/panel/panelPart.ts
@@ -207,7 +207,8 @@ export class PanelPart extends CompositePart<Panel> implements IPanelService {
207
}
208
209
if (isActive) {
210
- if (!activePanel) {
+ // Only try to open the panel if it has been created and visible
211
+ if (!activePanel && this.element && this.layoutService.isVisible(Parts.PANEL_PART)) {
212
this.doOpenPanel(panel.id);
213
214
0 commit comments