From 69b4f090c049ebc0f8da827d913ae969f364dedb Mon Sep 17 00:00:00 2001 From: Wojciech Boman Date: Fri, 16 Jan 2026 11:41:04 +0100 Subject: [PATCH] Fix issue: Expense report wide RHP closes and it reopens in central pane after clicking header subtitle --- src/components/ParentNavigationSubtitle.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/ParentNavigationSubtitle.tsx b/src/components/ParentNavigationSubtitle.tsx index e7fde9e2b44c5..cb1d3ea4939c9 100644 --- a/src/components/ParentNavigationSubtitle.tsx +++ b/src/components/ParentNavigationSubtitle.tsx @@ -141,6 +141,11 @@ function ParentNavigationSubtitle({ return; } + if (Navigation.getTopmostSuperWideRHPReportID() === parentReportID && currentFullScreenRoute?.name === NAVIGATORS.REPORTS_SPLIT_NAVIGATOR) { + Navigation.dismissToSuperWideRHP(); + return; + } + // If the parent report is already displayed underneath RHP, simply dismiss the modal if (Navigation.getTopmostReportId() === parentReportID && currentFullScreenRoute?.name === NAVIGATORS.REPORTS_SPLIT_NAVIGATOR) { Navigation.dismissModal();