Fix sidebar staying collapsed when about to search

This commit is contained in:
Jamie Kyle 2023-09-11 06:57:42 -07:00 committed by GitHub
parent 148a54eb65
commit ccb517a218
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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={
<>