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
[HOLD for payment 2023-10-09] [$500] Web - Money request tab glitches when trying to select text in the scan receipt tab #27551
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 are not able to select the text and the page glitches to the right
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: 1.3.70.5 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 Notes/Photos/Videos: Any additional supporting documentation
changed the title [-]Web - Money request tab glitches when trying to select text in the scan receipt tab[/-][+][$500] Web - Money request tab glitches when trying to select text in the scan receipt tab[/+]on Sep 15, 2023
Please re-state the problem that we are trying to solve in this issue.
Money request tab glitches when trying to select text in the scan receipt tab.
What is the root cause of that problem?
Trying to select text triggers the swipe action on the Scan tab, causing either the Manual or Distance tab to show while dragging the mouse.
What changes do you think we should make in order to solve the problem?
Solution 1
Add a PanResponder to the root view of the Scan tab in ReceiptSelector to handle swipes and prevent the tab from swiping when trying to select text.
Solution 2
In some cases, the user may attempt to select text without placing the cursor on the text area. The limitation with Solution 1 is that dragging in any area to the left or right of the text will cause the tab to be swiped. There is a 20px horizontal margin for the root view, so dragging in the margin area would still cause the tab to swipe.
A discussion in #expensify-bugs 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: I don't think an additional discussion is needed here, this is an isolated occurrence and kind of an edge case
Determine if we should create a regression test for this bug
Again, since this is an edge case a few users would have ever encountered (and is limited to web/Desktop), I don't think a regression test is required here
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 Sep 15, 2023
Triggered auto assignment to @puneetlath (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Sep 15, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)[-]Web - Money request tab glitches when trying to select text in the scan receipt tab[/-][+][$500] Web - Money request tab glitches when trying to select text in the scan receipt tab[/+]melvin-bot commentedon Sep 15, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01edfae28ba0808400
melvin-bot commentedon Sep 15, 2023
Current assignee @puneetlath is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon Sep 15, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak (
External)akinwale commentedon Sep 15, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Money request tab glitches when trying to select text in the scan receipt tab.
What is the root cause of that problem?
Trying to select text triggers the swipe action on the Scan tab, causing either the Manual or Distance tab to show while dragging the mouse.
What changes do you think we should make in order to solve the problem?
Solution 1
Add a PanResponder to the root view of the Scan tab in ReceiptSelector to handle swipes and prevent the tab from swiping when trying to select text.
Solution 2
In some cases, the user may attempt to select text without placing the cursor on the text area. The limitation with Solution 1 is that dragging in any area to the left or right of the text will cause the tab to be swiped. There is a 20px horizontal margin for the root view, so dragging in the margin area would still cause the tab to swipe.
This can be handled with the following steps.
What alternative solutions did you explore? (Optional)
None.
27551-demo.mp4
puneetlath commentedon Sep 18, 2023
@eVoloshchak thoughts on the proposal?
39 remaining items
dylanexpensify commentedon Oct 10, 2023
Payment summary:
dylanexpensify commentedon Oct 10, 2023
Payments sent! @eVoloshchak mind completing checklist? Thank you!
eVoloshchak commentedon Oct 11, 2023
Again, since this is an edge case a few users would have ever encountered (and is limited to web/Desktop), I don't think a regression test is required here
JmillsExpensify commentedon Oct 12, 2023
$750 payment approved for @eVoloshchak based on BZ summary.