Fix confirm modal not showing (loops to Merchant page)#88250
Fix confirm modal not showing (loops to Merchant page)#88250nabi-ebrahimi wants to merge 1 commit intoExpensify:mainfrom
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4786e1c8d2
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
@suneox, friendly bump. thanks. |
I'll take a look on this one soon |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppCleanShot.2026-04-24.at.23.17.55.5.mp4Android: mWeb ChromeCleanShot.2026-04-24.at.23.09.56.4.mp4iOS: HybridAppCleanShot.2026-04-24.at.23.08.59.3.mp4iOS: mWeb SafariCleanShot.2026-04-24.at.23.07.42.2.mp4MacOS: Chrome / SafariCleanShot.2026-04-24.at.22.55.31.1.mp4 |
Since the inline input still under beta flag so we need to fix with current solution, @nabi-ebrahimi Could you please resolve the conflict? Thanks! |
It look like #87269 fix include the scope of current issue on latest main, so we can retest and waiting for staging deploy |
ff9f704 to
8a67b02
Compare
|
It's not overdue; we're still waiting for the retest as per the comment |

Explanation of Change
These changes make the “discard changes” protection more reliable when someone tries to leave a page with unsaved edits, especially on web back navigation.
It marks browser back navigation more consistently as a pending “go back” action, and it ensures the discard confirmation modal still appears in cases where the browser has already started closing the current screen. The result is a smoother, more predictable experience: users are less likely to lose edits accidentally, and navigation behaves more consistently across web edge cases.
Fixed Issues
$ #80479
PROPOSAL: #80479 (comment)
Tests
Offline tests
Same as Tests.
QA Steps
Same as Tests.
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
579277066-003a9c0a-7052-446c-9ade-672b561de194.mp4
Android: mWeb Chrome
REC-20260418101212.AM.mp4
iOS: Native
REC-2026041894251.AM.mp4
iOS: mWeb Safari
REC-2026041894532.AM.mp4
MacOS: Chrome / Safari
REC-2026041893209.AM.mp4