From ccb517a218bf098b201e86f0a29ecfd9f38455ae Mon Sep 17 00:00:00 2001 From: Jamie Kyle <113370520+jamiebuilds-signal@users.noreply.github.com> Date: Mon, 11 Sep 2023 06:57:42 -0700 Subject: [PATCH] Fix sidebar staying collapsed when about to search --- ts/components/LeftPane.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ts/components/LeftPane.tsx b/ts/components/LeftPane.tsx index 0ecaa6017..e7304ead3 100644 --- a/ts/components/LeftPane.tsx +++ b/ts/components/LeftPane.tsx @@ -562,7 +562,10 @@ export function LeftPane({ navTabsCollapsed={navTabsCollapsed} onToggleNavTabsCollapse={toggleNavTabsCollapse} preferredLeftPaneWidth={preferredWidthFromStorage} - requiresFullWidth={modeSpecificProps.mode !== LeftPaneMode.Inbox} + requiresFullWidth={ + modeSpecificProps.mode !== LeftPaneMode.Inbox || + modeSpecificProps.isAboutToSearch + } savePreferredLeftPaneWidth={savePreferredLeftPaneWidth} actions={ <>