Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[$250] Tag - Tag list scrolls up when selecting a tag from the list #40410

Closed
4 of 6 tasks
izarutskaya opened this issue Apr 18, 2024 · 21 comments
Closed
4 of 6 tasks

[$250] Tag - Tag list scrolls up when selecting a tag from the list #40410

izarutskaya opened this issue Apr 18, 2024 · 21 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review

Comments

@izarutskaya
Copy link

izarutskaya commented Apr 18, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 1.4.63-0
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

Precondition:

  • Collect workspace has a long list of categories or tags.
  1. Go to staging.new.expensify.com
  2. Go to workspace chat.
  3. Start manual request flow.
  4. Click Tag.
  5. Select a tag from the list.
  6. Click Tag again.
  7. Quickly scroll down after opening tha Tag list.
  8. Click on any tag.

Expected Result:

The tag will be selected and app will redirect to confirmation page.

Actual Result:

Tag list scrolls up instead.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6453294_1713425280086.tag_selection_bug.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0190130b274ac53836
  • Upwork Job ID: 1781306795380563968
  • Last Price Increase: 2024-04-19
  • Automatic offers:
    • jjcoffee | Reviewer | 0
    • fedirjh | Contributor | 0
@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 18, 2024
Copy link

melvin-bot bot commented Apr 18, 2024

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

Copy link

melvin-bot bot commented Apr 18, 2024

Triggered auto assignment to @cristipaval (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link
Contributor

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@izarutskaya
Copy link
Author

@miljakljajic I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

@izarutskaya
Copy link
Author

We think this issue might be related to the #collect project.

@izarutskaya
Copy link
Author

Production

bandicam.2024-04-18.12-09-06-775.mp4

@miljakljajic
Copy link
Contributor

@cristipaval do you agree this is a deploy blocker?

@roryabraham
Copy link
Contributor

this looks like a legit blocker to me

@cristipaval cristipaval added the External Added to denote the issue can be worked on by a contributor label Apr 19, 2024
@melvin-bot melvin-bot bot changed the title Tag - Tag list scrolls up when selecting a tag from the list [$250] Tag - Tag list scrolls up when selecting a tag from the list Apr 19, 2024
Copy link

melvin-bot bot commented Apr 19, 2024

Job added to Upwork: https://www.upwork.com/jobs/~0190130b274ac53836

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 19, 2024
Copy link

melvin-bot bot commented Apr 19, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee (External)

@cristipaval
Copy link
Contributor

I'm not sure what is the offending PR, I am investigating to see if this one

@cristipaval
Copy link
Contributor

I'm suspecting this PR as being the offending one. Still investigating.

@fedirjh
Copy link
Contributor

fedirjh commented Apr 19, 2024

This is the offending PR: #40234 , cc @WojtekBoman

@mountiny
Copy link
Contributor

I could not repro really, not sure if there has to be some specific minimum number of tags

@josh-prof
Copy link

Proposal

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

Tag - Tag list scrolls up when selecting a tag from the list

What is the root cause of that problem?

The root cause of this problem is that the onPress event of the BaseListItem component is not triggered, while the onMouseDown event is. This occurs due to the possibility of parent components intercepting touch events or disrupting the propagation of the onPress event.

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

To mitigate this issue, I propose setting the e.preventDefault() for onMouseDown event handling. This action will effectively prevent ancestors from intercepting the touchable events of the component, thereby resolving the problem at hand. And that works well as you can see from attached file.

Attachment.mp4

@melvin-bot melvin-bot bot added the Overdue label Apr 21, 2024
@cristipaval
Copy link
Contributor

I figured out that you don't have to scroll down quickly. You just need to scroll enough to make the selection from the top go out of the visible part of the component.

@melvin-bot melvin-bot bot removed the Overdue label Apr 22, 2024
@WojtekBoman
Copy link
Contributor

I'm working on that

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 22, 2024
Copy link

melvin-bot bot commented Apr 22, 2024

📣 @jjcoffee 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

@cristipaval
Copy link
Contributor

Thanks a lot @WojtekBoman! 🙏

@cristipaval cristipaval assigned fedirjh and unassigned jjcoffee Apr 22, 2024
Copy link

melvin-bot bot commented Apr 22, 2024

📣 @fedirjh 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@mountiny mountiny added Reviewing Has a PR in review Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Apr 22, 2024
@fedirjh
Copy link
Contributor

fedirjh commented Apr 29, 2024

I think this can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

9 participants