You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Due for payment 2026-02-17] Reports - RHP closes and reopens after adding a new expense. #79712
Version Number: 9.3.3.0 Reproducible in staging?: Yes Reproducible in production?: No If this was caught during regression testing, add the test name, ID and link from BrowserStack:#77657 Email or phone of affected tester (no customers):ibellicotest+2250@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Motorola MotoG60 / Android 12 (Hybrid app) - Windows 11 / Chrome App Component: Search
Action Performed:
Prerequisite: Account has at least one workspace.
Open the staging.new.expensify.com website.
Open any workspace chat,
Create a manual expense.
Navigate to "Reports" > "Expenses"
Open the just created expense.
Tap on "More" > "Add Expense" > "Create Expense"
Create a new manual expense.
Note that when expense is created, RHP closes and reopens.
Expected Result:
When an expense is added to report, RHP should remain opened and new expense should appear automatically.
Actual Result:
When an expense is added to report, RHP closes and reopens automatically.
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
Classification: Frontend bug Causing PR: #75886 - "Add Super Wide RHP Routes" by @WojtekBoman (High confidence) Related Issues: None identified
Recommendation: REVERT
PR #75886 introduced a regression in the dismissModalAndOpenReportInInboxTab function that causes the RHP to close and reopen when adding an expense to a report opened in the Super Wide RHP. The intended behavior should be for the RHP to remain open with the new expense appearing automatically. Reverting this PR will restore the expected behavior.
Labels: Keeping DeployBlockerCash (App deploy blocked). Removing DeployBlocker if present (not a backend issue).
Detailed Analysis
Evidence
The bug occurs when:
User opens an expense report in the Super Wide RHP (Reports > Expenses > click report with multiple expenses)
User clicks "More" > "Add Expense" > "Create Expense"
User creates a new manual expense
The RHP closes and reopens instead of staying open
This behavior is directly caused by changes in PR #75886 to the dismissModalAndOpenReportInInboxTab function in src/libs/actions/IOU/index.ts.
PR #75886 modified this file: Confirmed via gh pr view 75886 --json files
Specific problematic code (added in PR #75886, lines 995-999):
// When a report is opened in the super wide RHP, we need to dismiss to the first RHP to show the same report with new expense.if(isReportOpenInSuperWideRHP(rootState)){Navigation.dismissToPreviousRHP();return;}
This code dismisses the RHP when an expense is added, causing the close/reopen behavior that users are experiencing.
Root Cause
The dismissModalAndOpenReportInInboxTab function is called after creating an expense. PR #75886 added logic to handle the Super Wide RHP case by calling Navigation.dismissToPreviousRHP(), which dismisses and reopens the RHP.
The comment suggests this was intentional ("to show the same report with new expense"), but this creates a poor UX where the panel visibly closes and reopens. The expected behavior, as stated in the issue, is for the RHP to remain open and the new expense to appear automatically without any dismissal.
Bug is in version 9.3.3.0, reproducible in staging (where PR Add Super Wide RHP Routes #75886 is deployed) but NOT in production (where it is not yet deployed)
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.15-10 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@ZhenjaHorbach The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
Activity
github-actions commentedon Jan 15, 2026
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
OSBotify commentedon Jan 15, 2026
Investigation Summary
Classification: Frontend bug
Causing PR: #75886 - "Add Super Wide RHP Routes" by @WojtekBoman (High confidence)
Related Issues: None identified
Recommendation: REVERT
PR #75886 introduced a regression in the
dismissModalAndOpenReportInInboxTabfunction that causes the RHP to close and reopen when adding an expense to a report opened in the Super Wide RHP. The intended behavior should be for the RHP to remain open with the new expense appearing automatically. Reverting this PR will restore the expected behavior.Labels: Keeping
DeployBlockerCash(App deploy blocked). RemovingDeployBlockerif present (not a backend issue).Detailed Analysis
Evidence
The bug occurs when:
This behavior is directly caused by changes in PR #75886 to the
dismissModalAndOpenReportInInboxTabfunction insrc/libs/actions/IOU/index.ts.Verification
Affected file:
src/libs/actions/IOU/index.ts(lines 989-1017)PR #75886 modified this file: Confirmed via
gh pr view 75886 --json filesSpecific problematic code (added in PR #75886, lines 995-999):
This code dismisses the RHP when an expense is added, causing the close/reopen behavior that users are experiencing.
Root Cause
The
dismissModalAndOpenReportInInboxTabfunction is called after creating an expense. PR #75886 added logic to handle the Super Wide RHP case by callingNavigation.dismissToPreviousRHP(), which dismisses and reopens the RHP.The comment suggests this was intentional ("to show the same report with new expense"), but this creates a poor UX where the panel visibly closes and reopens. The expected behavior, as stated in the issue, is for the RHP to remain open and the new expense to appear automatically without any dismissal.
Timeline alignment:
This confirms PR #75886 is the root cause.
OSBotify commentedon Jan 15, 2026
Labels are already correct -
DeployBlockerCashis present (blocking App deploy) andDeployBlockeris not present. No label changes needed.francoisl commentedon Jan 15, 2026
cc @mountiny @ZhenjaHorbach this also looks related to the RHP changes
ZhenjaHorbach commentedon Jan 15, 2026
Yeah
But I think it's not a deploy blocker
Minor visual issue
francoisl commentedon Jan 15, 2026
Demoting as non-critical issue
31 remaining items
melvin-bot commentedon Feb 10, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.3.15-10 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2026-02-17. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Feb 10, 2026
@ZhenjaHorbach The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
melvin-bot commentedon Feb 20, 2026
@mountiny, @ZhenjaHorbach, @collectioneur Whoops! This issue is 2 days overdue. Let's get this updated quick!
mountiny commentedon Feb 20, 2026
I believe this was a follow up so we can close now