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
[Ready for payment][$250] Selection mode remains active after moving/removing the selected expense #69017
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor
Version Number: 9.1.97-4 Reproducible in staging?: Y Reproducible in production?: Y 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:@nyomanjyotisa Slack conversation (hyperlinked to channel name): #Open source
Action Performed:
Create a workspace with at least one report
Create 3 expenses in the report
Enable selection mode by using bulk actions on one expense
Verify the expense is selected (shows selection count in header)
Click on the selected expense to open its details
Move/remove the expense from the report
Expected Result:
Selection mode should be automatically disabled since no selected expenses remain in the current report
Actual Result:
Selection mode remains active with incorrect count, showing the moved expense is still considered selected
Workaround:
Unknown
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
Add any screenshot/video evidenceNew-Expensify.mp4Recording.1546.mp4
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
changed the title [-][$250] Selection mode remains active after moving/removing the selected expense[/-][+][Ready for payment][$250] Selection mode remains active after moving/removing the selected expense[/+]on Sep 23, 2025
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2EngineeringExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Aug 22, 2025
Triggered auto assignment to @greg-schroeder (
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.github-actions commentedon Aug 22, 2025
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
melvin-bot commentedon Aug 22, 2025
Triggered auto assignment to @luacmartins (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Aug 22, 2025
💬 A slack conversation has been started in #expensify-open-source
m-natarajan commentedon Aug 22, 2025
Proposal by @nyomanjyotisa
Proposal
Please re-state the problem that we are trying to solve in this issue.
Selection mode remains active after moving/removing the selected expense
What is the root cause of that problem?
Currently we don't have any call to remove the transaction from the selected transactions list when moving transaction between reports
App/src/pages/iou/request/step/IOURequestStepReport.tsx
Line 96 in 4cdf916
App/src/pages/iou/request/step/IOURequestStepReport.tsx
Line 129 in 4cdf916
Meanwhile in bulk operations, we call
clearSelectedTransactionsafter moving transactionApp/src/pages/Search/SearchTransactionsChangeReport.tsx
Lines 51 to 52 in 4cdf916
What changes do you think we should make in order to solve the problem?
We can call
removeTransactionfor the moved transaction in both thehandleRegularReportSelectionandremoveFromReportApp/src/pages/iou/request/step/IOURequestStepReport.tsx
Lines 95 to 97 in 4cdf916
App/src/pages/iou/request/step/IOURequestStepReport.tsx
Lines 128 to 130 in 4cdf916
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
We can call
clearSelectedTransactions(true)to clear all selected transaction32 remaining items
melvin-bot commentedon Sep 23, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @dominictb (
External)dominictb commentedon Sep 23, 2025
Oops I was mistakenly assigned here. Unsubscribing from this thread.
Julesssss commentedon Sep 23, 2025
PR was deployed a few weeks ago. @greg-schroeder could you please pay out @nyomanjyotisa when you have a moment
[-][$250] Selection mode remains active after moving/removing the selected expense[/-][+][Ready for payment][$250] Selection mode remains active after moving/removing the selected expense[/+]