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-09-23] [$250] iOS - Scan multi - Can't scroll carousel for see first image after delete one of seven receipts #69301
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
We display a total of 6 complete elements and half of the seventh element at all times. But when we had 7 images and we delete one of them, we are left with 6 images + 1 placeholder. In this case, the element stops scrolling, but the previous position remains (the first image is cropped and the seventh is fully visible).
What changes do you think we should make in order to solve the problem?
We need to scroll when deleting items. We can scroll to the top of the list when deleting, or we can scroll a distance equal to the width of one item. This can be discussed during the PR stage. Here is the solution with scrolling to the top when deleting images:
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
N/A
What alternative solutions did you explore? (Optional)
We can enable scroll always or any specific scenario(We can discuss it during PR stage, e.g. when prevoius value was 7 and new value is 6 images), so user can always scroll:
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.
changed the title [-]iOS - Scan multi - Can't scroll carousel for see first image after delete one of seven receipts[/-][+][$250] iOS - Scan multi - Can't scroll carousel for see first image after delete one of seven receipts[/+]on Aug 29, 2025
Well I understand the issue and reviewed the proposal. I have two concerns with scroll to top as it might result into a jarring experience. Second why do need a hasRemovedReceipt check, do we really need a specific removal check?
I liked that we can move by the width of the item but it might a little complex. I'll confirm the behavior with @puneetlath / @Expensify/design.
We can scroll to the top of the list when deleting, or we can scroll a distance equal to the width of one item. This can be discussed during the PR stage.
That being said I think this should be discussed in the proposal stage and not PR stage.
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.14-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@mananjadhav@dylanexpensify 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: I am not sure in which specific PR we could've fixed this. It's an edge case.
[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: NA
[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
Test:
For mWeb and Mobile Apps:
Go to any workspace chat
At composer box, tap on + button
Tap Create Expense
Tap Scan
Tap on multi receipt icon
Take 7 or more photos
Tap on one photo of the row at bottom and delete
Make sure list is scrolled to the start and you can scroll through the list.
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Aug 26, 2025
Triggered auto assignment to @dylanexpensify (
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.Eskalifer1 commentedon Aug 27, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
iOS - Scan multi - Can't scroll carousel for see first image after delete one of seven receipts
What is the root cause of that problem?
The problem lies in this component:
App/src/pages/iou/request/step/IOURequestStepScan/ReceiptPreviews/index.tsx
Line 34 in f446cf8
We display a total of 6 complete elements and half of the seventh element at all times. But when we had 7 images and we delete one of them, we are left with 6 images + 1 placeholder. In this case, the element stops scrolling, but the previous position remains (the first image is cropped and the seventh is fully visible).
What changes do you think we should make in order to solve the problem?
We need to scroll when deleting items. We can scroll to the top of the list when deleting, or we can scroll a distance equal to the width of one item. This can be discussed during the PR stage. Here is the solution with scrolling to the top when deleting images:
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
N/A
What alternative solutions did you explore? (Optional)
We can enable scroll always or any specific scenario(We can discuss it during PR stage, e.g. when prevoius value was 7 and new value is 6 images), so user can always scroll:
App/src/pages/iou/request/step/IOURequestStepScan/ReceiptPreviews/index.tsx
Line 130 in f446cf8
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.
[-]iOS - Scan multi - Can't scroll carousel for see first image after delete one of seven receipts[/-][+][$250] iOS - Scan multi - Can't scroll carousel for see first image after delete one of seven receipts[/+]melvin-bot commentedon Aug 29, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021961434110976994166
melvin-bot commentedon Aug 29, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav (
External)mananjadhav commentedon Aug 31, 2025
Well I understand the issue and reviewed the proposal. I have two concerns with scroll to top as it might result into a jarring experience. Second why do need a
hasRemovedReceiptcheck, do we really need a specific removal check?I liked that we can move by the width of the item but it might a little complex. I'll confirm the behavior with @puneetlath / @Expensify/design.
That being said I think this should be discussed in the proposal stage and not PR stage.
🎀 👀 🎀 C+ reviewed.
35 remaining items
melvin-bot commentedon Sep 16, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Sep 16, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.14-7 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-09-23. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Sep 16, 2025
@mananjadhav @dylanexpensify 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]
mananjadhav commentedon Sep 22, 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: I am not sure in which specific PR we could've fixed this. It's an edge case.
[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: NA
[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
Test:
For mWeb and Mobile Apps:
Do we agree 👍 or 👎
mananjadhav commentedon Sep 22, 2025
@dylanexpensify The checklist is completed for tomorrow.
dylanexpensify commentedon Sep 23, 2025
Payment summary:
Contributor: @Eskalifer1 $250 via Upwork
Contributor+: @mananjadhav $250 via NewDot
Please apply/request!
dylanexpensify commentedon Sep 23, 2025
@Eskalifer1 sent offer!
Eskalifer1 commentedon Sep 23, 2025
Thank you! I have accepted!
dylanexpensify commentedon Sep 23, 2025
done!
quinthar commentedon Sep 26, 2025
Approved $250 to @mananjadhav