From 1773c8fb26a086cc3dbf50a4d3a8f730fcc67bf0 Mon Sep 17 00:00:00 2001 From: Nicolas Brichet Date: Fri, 26 Aug 2022 13:37:39 +0200 Subject: [PATCH] Hide the current widget when collapsing, otherwise this is only the upper one which is displayed --- packages/application/src/shell.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/application/src/shell.ts b/packages/application/src/shell.ts index 78e8d5481..c142ba092 100644 --- a/packages/application/src/shell.ts +++ b/packages/application/src/shell.ts @@ -664,6 +664,7 @@ namespace Private { * Collapse the sidebar so no items are expanded. */ collapse(): void { + this._current?.hide(); this._current = null; }