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-07-08] [$250] Expense-Clicking outside RHP does not close expense creation RHP when recipient list is opened #94246
Version Number: 9.4.17-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:#94134 Email or phone of affected tester (no customers):joisjdnosjdoijso@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Mac 26.5 / Chrome App Component: Money Requests
Action Performed:
Go to staging.new.expensify.com
Open FAB > Create expense > Manual.
Click To field.
Click outside RHP.
Expected Result:
Expense creation RHP will close.
Actual Result:
Expense creation RHP does not close. Only the participant list closes.
👋 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.
Posted by MelvinBot 🤖 — Root cause confidence: High (code-traced). Regression from Expensify/App#94134.
What is the root cause of that problem?
The new manual expense flow (shipped by #94134, which removed the newManualExpenseFlow beta) embeds the confirmation form directly inside the expense‑creation RHP. The To field no longer navigates to a participants page inside that same RHP — it now opens the recipient list as a separate RIGHT_DOCKEDModal stacked on top of the RHP.
Clicking outside the panel hits the picker modal's backdrop, which fires onClose={closeParticipantPicker}. That handler only flips local visibility state — it never dismisses the underlying navigation RHP:
So clicking outside closes only the top modal (the participant list) and leaves the expense RHP open. This is consistent with the report: not reproducible in production (the old navigation‑based flow lived in the same RHP stack, so one outside‑click dismissed the whole panel) but reproducible in staging where the new flow is now on for everyone.
Why production behaved differently
Before #94134, the "To" tap called Navigation.navigate(ROUTES.MONEY_REQUEST_STEP_PARTICIPANTS…) — the participants step was another screen in the same RHP navigator, so the RHP backdrop dismissed everything. The diff replaced that Navigation.navigate(...) with onOpenParticipantPicker?.() and removed the isNewManualExpenseFlowEnabled && guard that previously gated the stacked ParticipantPicker modal (see the MoneyRequestConfirmationList.tsx and IOURequestStepConfirmation.tsx hunks in the PR diff).
What changes do you think we should make in order to solve the problem?
Make an outside/backdrop click on the picker dismiss the entire expense RHP, not just the picker layer. Two viable directions:
Distinguish backdrop dismiss from the back button. Keep the back button (onBackButtonPress) returning to the confirmation form, but on backdrop press also dismiss the parent RHP (e.g. call Navigation.dismissModal() / the RHP close in addition to closeParticipantPicker). The Modal component exposes separate backdrop vs. back-button handlers, so these can be wired independently in ParticipantPicker.tsx.
Don't stack a second modal. Render the recipient list as a screen swap within the existing RHP (closer to the pre‑feat: remove isNewManualExpenseFlowEnabled beta flag #94134 navigation model) instead of a separate RIGHT_DOCKED Modal, so there is only one dismissable layer.
Option 1 is the smaller, lower‑risk change for a deploy blocker; option 2 is the more architecturally consistent fix. This is a UX decision for the team — confirm whether an outside click on the open recipient list should close the whole flow or just the list.
What alternative solutions did you explore? (Optional)
Considered leaving the stacked behavior as-is (clicking outside closes only the list). Rejected — it contradicts the reported expected behavior and standard RHP dismissal, and was flagged as a significant UX deterioration.
Next Steps for Contributor+ team: To accept:@MelvinBot implement [this](https://github.com/Expensify/App/issues/94246) to create a draft PR. To refine:@MelvinBot <your feedback> To reject: Explain why you are rejecting Melvin's proposal.
changed the title [-][$250] [Due for payment 2026-07-01] [Due for payment 2026-06-30] Expense-Clicking outside RHP does not close expense creation RHP when recipient list is opened[/-][+][Due for payment 2026-07-08] [$250] Expense-Clicking outside RHP does not close expense creation RHP when recipient list is opened[/+]on Jul 1, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.25-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@thelullabyy 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]. If no checklist is needed for this issue, you can click: [no checklist button]
[Contributor] The offending PR and associated issue have been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to the comment on the PR: NA
Link to the comment on the Issue:
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Test:
Requires the new manual expense flow
Go to FAB > Create expense > Manual.
Open the confirmation page and click the To field to open the recipient list.
Click outside the panel (on the dimmed backdrop area).
Verify the entire expense-creation RHP closes (not just the recipient list).
Re-open the recipient list and instead press the back arrow in the header — verify it returns to the confirmation form (does not close the whole RHP).
Activity
applause-bot commentedon Jun 23, 2026
While Applause doesn't embed attachments for this bug, here are the links for quick view:
https://platform.applause.com/services/links/v1/external/3aee50d96eb649e23298b7907e9c4f0ed3f3b19d44e8afaeb176d58023d07e24
melvin-bot commentedon Jun 23, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #94134
melvin-bot commentedon Jun 23, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Jun 23, 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:
MelvinBot commentedon Jun 23, 2026
Proposal
What is the root cause of that problem?
The new manual expense flow (shipped by #94134, which removed the
newManualExpenseFlowbeta) embeds the confirmation form directly inside the expense‑creation RHP. The To field no longer navigates to a participants page inside that same RHP — it now opens the recipient list as a separateRIGHT_DOCKEDModalstacked on top of the RHP.Clicking outside the panel hits the picker modal's backdrop, which fires
onClose={closeParticipantPicker}. That handler only flips local visibility state — it never dismisses the underlying navigation RHP:ParticipantPicker.tsx:80-101— picker renders as its ownRIGHT_DOCKEDModal layer.IOURequestStepConfirmation.tsx:296-302—closeParticipantPickerjust resetsmanuallyOpened…/dismissedAutoOpen…state; noNavigation.dismiss….So clicking outside closes only the top modal (the participant list) and leaves the expense RHP open. This is consistent with the report: not reproducible in production (the old navigation‑based flow lived in the same RHP stack, so one outside‑click dismissed the whole panel) but reproducible in staging where the new flow is now on for everyone.
Why production behaved differently
Before #94134, the "To" tap called
Navigation.navigate(ROUTES.MONEY_REQUEST_STEP_PARTICIPANTS…)— the participants step was another screen in the same RHP navigator, so the RHP backdrop dismissed everything. The diff replaced thatNavigation.navigate(...)withonOpenParticipantPicker?.()and removed theisNewManualExpenseFlowEnabled &&guard that previously gated the stackedParticipantPickermodal (see theMoneyRequestConfirmationList.tsxandIOURequestStepConfirmation.tsxhunks in the PR diff).What changes do you think we should make in order to solve the problem?
Make an outside/backdrop click on the picker dismiss the entire expense RHP, not just the picker layer. Two viable directions:
onBackButtonPress) returning to the confirmation form, but on backdrop press also dismiss the parent RHP (e.g. callNavigation.dismissModal()/ the RHP close in addition tocloseParticipantPicker). TheModalcomponent exposes separate backdrop vs. back-button handlers, so these can be wired independently inParticipantPicker.tsx.RIGHT_DOCKEDModal, so there is only one dismissable layer.Option 1 is the smaller, lower‑risk change for a deploy blocker; option 2 is the more architecturally consistent fix. This is a UX decision for the team — confirm whether an outside click on the open recipient list should close the whole flow or just the list.
What alternative solutions did you explore? (Optional)
Considered leaving the stacked behavior as-is (clicking outside closes only the list). Rejected — it contradicts the reported expected behavior and standard RHP dismissal, and was flagged as a significant UX deterioration.
Next Steps for Contributor+ team:
To accept:
@MelvinBot implement [this](https://github.com/Expensify/App/issues/94246)to create a draft PR.To refine:
@MelvinBot <your feedback>To reject: Explain why you are rejecting Melvin's proposal.
m-natarajan commentedon Jun 23, 2026
Chrome / v9.4.17-1, Not repro
REC-20260623175559.mp4
27 remaining items
[-][$250] [Due for payment 2026-07-01] [Due for payment 2026-06-30] Expense-Clicking outside RHP does not close expense creation RHP when recipient list is opened[/-][+][Due for payment 2026-07-08] [$250] Expense-Clicking outside RHP does not close expense creation RHP when recipient list is opened[/+]melvin-bot commentedon Jul 1, 2026
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jul 1, 2026
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.4.25-2 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-07-08. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jul 1, 2026
@thelullabyy 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]. If no checklist is needed for this issue, you can click: [no checklist button]
melvin-bot commentedon Jul 6, 2026
@thelullabyy Huh... This is 4 days overdue. Who can take care of this?
melvin-bot commentedon Jul 7, 2026
Triggered auto assignment to @mallenexpensify (
Awaiting Payment)thelullabyy commentedon Jul 9, 2026
BugZero Checklist:
[Contributor] The offending PR and associated issue have been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to the comment on the PR: NA
Link to the comment on the Issue:
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Test:
Requires the new manual expense flow
Do we agree 👍 or 👎
Zapier Logs
Run ID: 00040eee-885c-ada6-aa3f-af3adbb5bc14mallenexpensify commentedon Jul 9, 2026
Payment Summary
Contributor+: @thelullabyy due $250 via NewDot
Seeing a lot of these where @thelullabyy is the only one due payment and regressions aren't applicable. @puneetlath update, if needed
^ Test case created. Thx
laurenreidexpensify commentedon Aug 12, 2026
$250 approved for @thelullabyy