Skip to content

[Due for payment 2025-08-19] [$250] Pressing back button doesn't work on the state picker #67355

Closed

Description

@izarutskaya

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: 9.1.87-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @dukenv0307
Slack conversation (hyperlinked to channel name): expensify_bugs

Action Performed:

  1. Open https://staging.new.expensify.com/enable-payments
  2. Select State to open the state selector
  3. Press the browser back button

Expected Result:

The previous page should be shown

Actual Result:

The previous page isn't shown

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Screen.Recording.2025-07-29.at.11.44.30.1.mov
Screen.Recording.2025-07-29.at.11.44.30.mov

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021950547409619887146
  • Upwork Job ID: 1950547409619887146
  • Last Price Increase: 2025-07-30
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @trjExpensify

Activity

  1. added
    Daily
    Bug
    on Jul 29, 2025
  2. melvin-bot commented on Jul 29, 2025

    @melvin-bot

    Triggered auto assignment to @trjExpensify (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.

  3. izarutskaya commented on Jul 29, 2025

    @izarutskaya
    Author

    From @dukenv0307

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Pressing back button doesn't work on the state picker

    What is the root cause of that problem?

    In this case, we use PushRowModal, and we don't enable shouldHandleNavigationBack in Modal, so pressing back button doesn't work

    What changes do you think we should make in order to solve the problem?

    enable shouldHandleNavigationBack in Modal
    Or we can create the flag shouldHandleNavigationBack in PushRowModal and enable it if needed

    What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

    UI bug

    What alternative solutions did you explore? (Optional)

    None
    Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

  4. trjExpensify commented on Jul 30, 2025

    @trjExpensify
    Contributor

    Can't reproduce on staging:

    2025-07-30_13-37-47.mp4
  5. added
    Needs Reproduction
    retest-weekly
    on Jul 30, 2025
  6. MelvinBot commented on Jul 30, 2025

    @MelvinBot
    Contributor

    This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

  7. Pujan92 commented on Jul 30, 2025

    @Pujan92
    Contributor

    I am able to reproduce with the given steps

    Screen.Recording.2025-07-30.at.18.11.57.mov

    Pressing back button doesn't work on the state picker needs reproduction. The first C+ to post on the GH issue with reliable reproduction steps and video or screenshots confirming reproduction will be assigned as C+.
    Please add a ✅ to the message if you have posted reliable steps on the issue.

    Please assign me as a C+.

  8. Pujan92 commented on Jul 30, 2025

    @Pujan92
    Contributor

    Can't reproduce on staging:

    @trjExpensify you are missing the step of clicking the State field which navigates to the state picker screen.

  9. removed
    Needs Reproduction
    retest-weekly
    on Jul 30, 2025
  10. 21 remaining items

  11. added
    Awaiting Payment
    on Aug 12, 2025
  12. changed the title [-][$250] Pressing back button doesn't work on the state picker[/-] [+][Due for payment 2025-08-19] [$250] Pressing back button doesn't work on the state picker[/+] on Aug 12, 2025
  13. melvin-bot commented on Aug 12, 2025

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  14. removed
    Reviewing
    on Aug 12, 2025
  15. melvin-bot commented on Aug 12, 2025

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.92-5 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 2025-08-19. 🎊

    For reference, here are some details about the assignees on this issue:

    • @Pujan92 requires payment through NewDot Manual Requests
    • @dukenv0307 requires payment through NewDot Manual Requests
  16. melvin-bot commented on Aug 12, 2025

    @melvin-bot

    @Pujan92 / @dukenv0307 @trjExpensify 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]

  17. added
    Daily
    and removed
    Weekly
    on Aug 18, 2025
  18. Pujan92 commented on Aug 19, 2025

    @Pujan92
    Contributor

    BugZero Checklist:

    • [Contributor] Classify the bug:
    Bug classification

    Source of bug:

    • 1a. Result of the original design (eg. a case wasn't considered)
    • 1b. Mistake during implementation
    • 1c. Backend bug
    • 1z. Other:

    Where bug was reported:

    • 2a. Reported on production
    • 2b. Reported on staging (deploy blocker)
    • 2c. Reported on both staging and production
    • 2d. Reported on a PR
    • 2z. Other:

    Who reported the bug:

    • 3a. Expensify user
    • 3b. Expensify employee
    • 3c. Contributor
    • 3d. QA
    • 3z. Other:
    • [Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.

      Link to comment: https://github.com/Expensify/App/pull/51173/files#r2284259670

    • [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: N/A

    • [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.

    • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

      Link to issue:

    Regression Test Proposal

    1. Open enable payments page(https://staging.new.expensify.com/enable-payments)
    2. Select State to open the state selector
    3. Press the browser back button
    4. Verify that the previous page should be shown

    Do we agree 👍 or 👎

  19. melvin-bot commented on Aug 19, 2025

    @melvin-bot

    Payment Summary

    Upwork Job

    BugZero Checklist (@trjExpensify)

    • I have verified the correct assignees and roles are listed above and updated the necessary manual offers
    • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1950547409619887146/hired)
    • I have verified the PR was not reverted
    • I have applied any discounts due to bugs/regressions introduced by this PR
    • I have paid out the Upwork contracts or cancelled the ones that are incorrect
    • I have verified the payment summary above is correct
  20. trjExpensify commented on Aug 20, 2025

    @trjExpensify
    Contributor

    Pretty minor UI bug, going to forgo the test.

    Payment summary as follows:

    Go ahead and request, closing!

  21. JmillsExpensify commented on Aug 20, 2025

    @JmillsExpensify
    Contributor

    $250 approved for @Pujan92

  22. quinthar commented on Sep 7, 2025

    @quinthar
    Contributor

    $250 approved for @dukenv0307

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

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions