From 010864881d0c056e88dae2394fb398c0f1e822a5 Mon Sep 17 00:00:00 2001 From: Antonella Sgarlatta Date: Tue, 5 Aug 2025 10:31:48 -0300 Subject: [PATCH] fix: Fixes Back and Navigation buttons not working on mobile view when panels explicitly collapsed (#2926) --- .../Controllers/PaneController/PaneController.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/web/src/javascripts/Controllers/PaneController/PaneController.ts b/packages/web/src/javascripts/Controllers/PaneController/PaneController.ts index 589c1c600..b41cf3492 100644 --- a/packages/web/src/javascripts/Controllers/PaneController/PaneController.ts +++ b/packages/web/src/javascripts/Controllers/PaneController/PaneController.ts @@ -213,11 +213,15 @@ export class PaneController extends AbstractViewController implements InternalEv const panes = this._panesForLayout.execute(layout).getValue() - if (panes.includes(AppPaneId.Items) && this.listPaneExplicitelyCollapsed) { + if (panes.includes(AppPaneId.Items) && this.listPaneExplicitelyCollapsed && layout !== PaneLayout.ItemSelection) { removeFromArray(panes, AppPaneId.Items) } - if (panes.includes(AppPaneId.Navigation) && this.navigationPaneExplicitelyCollapsed) { + if ( + panes.includes(AppPaneId.Navigation) && + this.navigationPaneExplicitelyCollapsed && + layout !== PaneLayout.TagSelection + ) { removeFromArray(panes, AppPaneId.Navigation) }