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 - Referral RHP only opens after returning from participant list #94234
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):sdjnoisdjdosijsonssjo@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 on the referral banner at the bottom.
Click RHP back button.
Expected Result:
In Step 4, referral RHP will open.
Actual Result:
In Step 4, referral RHP does not open.
In Step 5, referral RHP only opens after returning from participant list.
👋 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.
🤖 Generated by MelvinBot — Confidence: High (code-verified, deterministic client-side navigation issue)
Please re-state the problem that we are trying to solve in this issue.
In the manual expense flow, opening the To participant selector and clicking the referral banner at the bottom does nothing on the first click. The referral RHP only becomes visible after backing out of the participant list. Introduced by #94134, which removed the isNewManualExpenseFlowEnabled beta and made the new manual flow the default.
What is the root cause of that problem?
In the new flow, the To selector is no longer a navigation screen — it's a JS RIGHT_DOCKEDModal (ParticipantPicker) whose visibility is driven by local React state in IOURequestStepConfirmation, layered on top of the confirmation RHP.
When the referral banner is pressed, ReferralProgramCTA calls Navigation.navigate(...) which correctly swaps the underlying RHP to the referral panel. But nothing sets the picker modal's isVisible to false, so the still-mounted ParticipantPicker overlay covers the freshly-presented referral RHP — the user sees "nothing happened." Tapping the back button closes the picker overlay, revealing the referral RHP that was already underneath it the whole time. This exactly matches the reported "only opens after returning from participant list."
By contrast, NewChatPage uses the same ReferralProgramCTA and works, because there the participant selector is a top-level RHP screen, so navigating to the referral RHP replaces it on the same modal stack with nothing layered on top.
What changes do you think we should make in order to solve the problem?
Close the participant picker overlay as part of the referral banner press, so the referral RHP is no longer covered.
Give ReferralProgramCTA an optional onBeforeNavigate?: () => void (or onPress) prop and call it just before Navigation.navigate(...) in ReferralProgramCTA.tsx:58-60.
Thread closeParticipantPicker (already defined at IOURequestStepConfirmation.tsx:296-302) down through the selector → ParticipantSelectorFooter → ReferralProgramCTA and pass it as onBeforeNavigate.
NewChatPage and other callers simply don't pass the prop, so their behavior is unchanged.
Alternatives considered
Auto-dismiss the picker on route change — add a navigation listener / useEffect in ParticipantPicker that calls onClose when the active route is no longer the create/confirmation route. More robust (covers any forward navigation from the overlay) but broader-reaching; riskier as a deploy-blocker fix.
Next Steps for Contributor+ team: To accept:@MelvinBot implement [this](https://github.com/Expensify/App/issues/94234) 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 - Referral RHP only opens after returning from participant list[/-][+][Due for payment 2026-07-08] [$250] Expense - Referral RHP only opens after returning from participant list[/+]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
Open FAB > Create expense > Manual.
Click the To field to open the participant selector.
Click the referral banner at the bottom.
Verify the referral RHP opens immediately (on the first click), without needing to back out of the participant list first.
Activity
applause-bot commentedon Jun 22, 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/064e271bd9961e34d59e857ef125ecaeadc520fb16d4542257d9ba5ee586aa9a
melvin-bot commentedon Jun 22, 2026
You have been assigned to this deploy blocker because you recently merged this PR: #94134
melvin-bot commentedon Jun 22, 2026
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Jun 22, 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 22, 2026
Proposal
Please re-state the problem that we are trying to solve in this issue.
In the manual expense flow, opening the To participant selector and clicking the referral banner at the bottom does nothing on the first click. The referral RHP only becomes visible after backing out of the participant list. Introduced by #94134, which removed the
isNewManualExpenseFlowEnabledbeta and made the new manual flow the default.What is the root cause of that problem?
In the new flow, the To selector is no longer a navigation screen — it's a JS
RIGHT_DOCKEDModal(ParticipantPicker) whose visibility is driven by local React state inIOURequestStepConfirmation, layered on top of the confirmation RHP.When the referral banner is pressed,
ReferralProgramCTAcallsNavigation.navigate(...)which correctly swaps the underlying RHP to the referral panel. But nothing sets the picker modal'sisVisibletofalse, so the still-mountedParticipantPickeroverlay covers the freshly-presented referral RHP — the user sees "nothing happened." Tapping the back button closes the picker overlay, revealing the referral RHP that was already underneath it the whole time. This exactly matches the reported "only opens after returning from participant list."By contrast,
NewChatPageuses the sameReferralProgramCTAand works, because there the participant selector is a top-level RHP screen, so navigating to the referral RHP replaces it on the same modal stack with nothing layered on top.Code evidence
RIGHT_DOCKEDModal:ParticipantPicker.tsx:82-88closeParticipantPicker:IOURequestStepConfirmation.tsx:291-302and rendered atIOURequestStepConfirmation.tsx:878-888ReferralProgramCTA.tsx:58-60ParticipantSelectorFooter.tsxWhat changes do you think we should make in order to solve the problem?
Close the participant picker overlay as part of the referral banner press, so the referral RHP is no longer covered.
ReferralProgramCTAan optionalonBeforeNavigate?: () => void(oronPress) prop and call it just beforeNavigation.navigate(...)inReferralProgramCTA.tsx:58-60.closeParticipantPicker(already defined atIOURequestStepConfirmation.tsx:296-302) down through the selector →ParticipantSelectorFooter→ReferralProgramCTAand pass it asonBeforeNavigate.NewChatPageand other callers simply don't pass the prop, so their behavior is unchanged.Alternatives considered
useEffectinParticipantPickerthat callsonClosewhen the active route is no longer the create/confirmation route. More robust (covers any forward navigation from the overlay) but broader-reaching; riskier as a deploy-blocker fix.Next Steps for Contributor+ team:
To accept:
@MelvinBot implement [this](https://github.com/Expensify/App/issues/94234)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
Not repro, Chrome / v9.4.17-1
Grabando.915.mp4
27 remaining items
[-][$250] [Due for payment 2026-07-01] [Due for payment 2026-06-30] Expense - Referral RHP only opens after returning from participant list[/-][+][Due for payment 2026-07-08] [$250] Expense - Referral RHP only opens after returning from participant list[/+]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 Eep! 4 days overdue now. Issues have feelings too...
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-e8e1-a777-5e6f-5df59aecea64mallenexpensify 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