Skip to content

[$250] Discard changes modal does't show up when going back with the browser back button #84246

@mitarachim

Description

@mitarachim

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: v9.3.31-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from BrowserStack: #78291
Email or phone of affected tester (no customers): applausetester+ds@applause.expensifail.com
Issue reported by: Applause Internal Team
Bug source: Pull Request QA execution
Device used: Mac 14.5/ Chrome
App Component: Other

Action Performed:

  1. Click on the + button > Track Distance
  2. Switch to Odometer
  3. Write a number on the fields
  4. Click on the browser back

Expected Result:

Discard changes modal shows up, user can't go back.

Actual Result:

Discard changes modal doesn't shows up, user go back.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari

Screenshots/Videos

Bug7094082_1772659282253.Screen_Recording_2026-03-05_at_12.01.09_at_night.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @ShridharGoel
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~022029450072204619790
  • Upwork Job ID: 2029450072204619790
  • Last Price Increase: 2026-03-05

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in review

Type

No type
No fields configured for issues without a type.

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions