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
Back button on split RHP show the page twice #78080
Version Number: v9.2.82-0 Reproducible in staging?: Yes Reproducible in production?: N/A - new feature, doesn't exist in prod If this was caught during regression testing, add the test name, ID and link from BrowserStack:#74652 Email or phone of affected tester (no customers):testpayment935@gmail.com Issue reported by: Applause Internal Team Bug source: Pull Request QA execution Device used: Windows 11 pro /Chrome, Samsung Galaxy s10/ Chrome App Component: Money Requests
Action Performed:
Navigate to staging.new.expensify.com
Create workspace and add expense
Go to expense detail page > More > Split > Date > Split dates
Click top back button twice
Expected Result:
Split RHP should be shown only once when tapping back button
Actual Result:
Back button on split RHP show the page twice rather than navigating back to expense detail
👋 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.
This causes the split dates page to have a backTo parameter pointing back to the split expense page. When the user clicks back from the split dates page, Navigation.goBack(backTo) is called, which navigates to the backTo route
Hey I checked and this issue can be reproduced this way as well:
Screen.Recording.2025-12-19.at.11.35.58.mov
I solved that using the specific routes to go back instead of backTo. I believe we can solve it the same way for the case described in this issue, let's just replace the backTo occurrences with the default go back routes. Problems might appear if the pages where backTo is used are accessed from several different flows. Then we need to reconsider the solution
@ZhenjaHorbach This should solve the problem. Actually, we'll lose the information about the report from which we opened the split expense page, but we can open the initial split expense page when navigating back after the refresh. Please let me know if it's ok
Activity
melvin-bot commentedon Dec 19, 2025
Triggered auto assignment to @johncschuster (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.melvin-bot commentedon Dec 19, 2025
Triggered auto assignment to @MonilBhavsar (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Dec 19, 2025
💬 A slack conversation has been started in #expensify-open-source
github-actions commentedon Dec 19, 2025
👋 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:
nyomanjyotisa commentedon Dec 19, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Back button on split RHP show the page twice
What is the root cause of that problem?
When navigating to the split dates page from the split expense page, we're passing
Navigation.getActiveRouteas thebackToparameterApp/src/pages/iou/SplitExpensePage.tsx
Line 412 in 894cbc2
This causes the split dates page to have a
backToparameter pointing back to the split expense page. When the user clicks back from the split dates page,Navigation.goBack(backTo)is called, which navigates to thebackTorouteApp/src/pages/iou/SplitExpenseCreateDateRagePage.tsx
Lines 85 to 87 in 894cbc2
Since
backTopoints to the split expense page (which is already in the navigation stack), this creates a duplicate navigation entryWhat changes do you think we should make in order to solve the problem?
Remove the
backToparameter when navigating to the split dates page from the split expense pageApp/src/pages/iou/SplitExpensePage.tsx
Lines 411 to 413 in 894cbc2
What alternative solutions did you explore? (Optional)
None
lakchote commentedon Dec 19, 2025
cc @ZhenjaHorbach
WojtekBoman commentedon Dec 19, 2025
Hey I checked and this issue can be reproduced this way as well:
Screen.Recording.2025-12-19.at.11.35.58.mov
I solved that using the specific routes to go back instead of
backTo. I believe we can solve it the same way for the case described in this issue, let's just replace the backTo occurrences with the default go back routes. Problems might appear if the pages wherebackTois used are accessed from several different flows. Then we need to reconsider the solutionWojtekBoman commentedon Dec 19, 2025
@ZhenjaHorbach This should solve the problem. Actually, we'll lose the information about the report from which we opened the split expense page, but we can open the initial split expense page when navigating back after the refresh. Please let me know if it's ok
Screen.Recording.2025-12-19.at.13.37.46.mov
ZhenjaHorbach commentedon Dec 19, 2025
As for me, it looks good!
@lakchote
What do you think about it?
garrettmknight commentedon Jan 2, 2026
Fixed! Handling payment in a separate issue.