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
[Due for payment 2025-05-20] [$500] iOS - Expense Reports - Report page cannot be dismissed by swiping to right #58863
Version Number: 9.1.16-2 Reproducible in staging?: Yes Reproducible in production?: Unable to check If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Email or phone of affected tester (no customers):applausetester+kok1@applause.expensifail.com Issue reported by: Applause Internal Team Device used: iPhone 15 Pro Max / iOS 18.3 App Component: Search
Action Performed:
Precondition:
Log in with Expensifail account.
Account has at least one expense.
Launch ND or hybrid app.
Go to Reports.
Tap bookmark icon.
Go to Expense Reports.
Open any expense reports.
Swipe to right with iOS gesture to go back.
Expected Result:
The report page can be dismissed by swiping to right.
Actual Result:
The report page cannot be dismissed by swiping to right.
changed the title [-]iOS - Expense Reports - Report page cannot be dismissed by swiping to right[/-][+][$250] iOS - Expense Reports - Report page cannot be dismissed by swiping to right[/+]on Mar 21, 2025
Please re-state the problem that we are trying to solve in this issue.
On iOS, users are unable to swipe from the left edge of the screen to go back when viewing an Expense Report. This is inconsistent with standard iOS navigation behavior.
What is the root cause of that problem?
The screen is either:
Presented modally with gesture support disabled, or
Wrapped in a navigator or layout that blocks the native swipe gesture (e.g., ScrollView, custom pan responders, or modal presentation style).
What changes do you think we should make in order to solve the problem?
Ensure the Expense Report screen is pushed via a Stack.Navigator with gestureEnabled: true.
Set presentation: 'card' to allow swipe-back gestures.
Check for gesture conflicts from nested components like ScrollView or custom gestures and update them to allow edge swiping.
Example:
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
iOS UI test: Open an Expense Report and verify swipe-to-go-back gesture works.
Navigation regression test: Confirm all report screens allow swipe-back unless explicitly disabled.
Cross-platform test: Ensure no regressions on Android behavior.
What alternative solutions did you explore? (Optional)
Replacing modal presentation with custom transitions – ruled out for complexity and inconsistency with native gestures.
Adding manual back gesture handling – not ideal since React Navigation already provides native support.
changed the title [-][$500] iOS - Expense Reports - Report page cannot be dismissed by swiping to right[/-][+][Due for payment 2025-05-20] [$500] iOS - Expense Reports - Report page cannot be dismissed by swiping to right[/+]on May 13, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.44-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@getusha@zanyrenney@getusha 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]
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 (eg. bug slipped through the normal regression and PR testing process on staging)
2b. Reported on staging (eg. found during regression or PR testing)
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: N/a
[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
Precondition:
None
Test:
Launch Hybrid App
Go to Search page > Reports.
Tap bookmark icon.
Go to (Expense Reports) / Reports.
Open any expense reports.
Verify if it's possible to swipe to right to go back.
Reopen the expense report.
Verify if the transition animation is shown when navigating back.
Activity
melvin-bot commentedon Mar 20, 2025
Triggered auto assignment to @zanyrenney (
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.[-]iOS - Expense Reports - Report page cannot be dismissed by swiping to right[/-][+][$250] iOS - Expense Reports - Report page cannot be dismissed by swiping to right[/+]melvin-bot commentedon Mar 21, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021903125815331781283
melvin-bot commentedon Mar 21, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha (
External)zanyrenney commentedon Mar 21, 2025
Added to quality.
Pranavs09 commentedon Mar 21, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
On iOS, users are unable to swipe from the left edge of the screen to go back when viewing an Expense Report. This is inconsistent with standard iOS navigation behavior.
What is the root cause of that problem?
The screen is either:
Presented modally with gesture support disabled, or
Wrapped in a navigator or layout that blocks the native swipe gesture (e.g., ScrollView, custom pan responders, or modal presentation style).
What changes do you think we should make in order to solve the problem?
Ensure the Expense Report screen is pushed via a Stack.Navigator with gestureEnabled: true.
Set presentation: 'card' to allow swipe-back gestures.
Check for gesture conflicts from nested components like ScrollView or custom gestures and update them to allow edge swiping.
Example:
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
iOS UI test: Open an Expense Report and verify swipe-to-go-back gesture works.
Navigation regression test: Confirm all report screens allow swipe-back unless explicitly disabled.
Cross-platform test: Ensure no regressions on Android behavior.
What alternative solutions did you explore? (Optional)
Replacing modal presentation with custom transitions – ruled out for complexity and inconsistency with native gestures.
Adding manual back gesture handling – not ideal since React Navigation already provides native support.
mallenexpensify commentedon Mar 24, 2025
Was part of the reason you were able to swipe back because the report didn't load?
Going to make as LOW for now.
55 remaining items
[-][$500] iOS - Expense Reports - Report page cannot be dismissed by swiping to right[/-][+][Due for payment 2025-05-20] [$500] iOS - Expense Reports - Report page cannot be dismissed by swiping to right[/+]melvin-bot commentedon May 13, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon May 13, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.44-8 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-05-20. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon May 13, 2025
@getusha @zanyrenney @getusha 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]
melvin-bot commentedon May 20, 2025
Payment Summary
Upwork Job
BugZero Checklist (@zanyrenney)
zanyrenney commentedon May 20, 2025
Hey @getusha please can you complete the checklist? We won't be able to move ahead with payment until it is complete.
getusha commentedon May 21, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[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: N/a
[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
Precondition:
Test:
Do we agree 👍 or 👎
zanyrenney commentedon May 21, 2025
Payment Summary
garrettmknight commentedon Jun 26, 2025
$500 approved for @getusha