Skip to content

[Due for payment 2026-07-08] [Odometer] Show discard changes modal when switching tabs with unsaved values #89940

Description

@Julesssss

Problem

When a user has filled in values in the odometer flow and switches tabs without saving, the values are lost without warning. This is inconsistent with the existing close-flow behavior, which shows a discard confirmation modal when users click outside to close.

Solution

Display the discard changes confirmation modal when the user switches tabs with unsaved filled-in values, matching the existing close-flow behavior.

WIP PR: #89612

Issue OwnerCurrent Issue Owner: @mallenexpensify

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2EngineeringInternalRequires API changes or must be handled by Expensify staff

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions