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

[PAID] Can't drag mouse to select text in input #41104

Closed
1 of 6 tasks
Julesssss opened this issue Apr 26, 2024 · 16 comments
Closed
1 of 6 tasks

[PAID] Can't drag mouse to select text in input #41104

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

Comments

@Julesssss
Copy link
Contributor

Julesssss commented Apr 26, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: v1.4.66-5
Reproducible in staging?: Yes
Reproducible in production?: Prod

Action Performed:

  • Start to create a group chat
  • Type the name of someone to filter results
  • Click 'Add to group'
  • Try to drag the cursor across the text input

Expected Result:

  • The page starts to swipe away

Actual Result:

  • The page should remain static when dragging in the input field

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

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

cantDragTextSelection.mov

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~016f4130ede9fb97f6
  • Upwork Job ID: 1784836362659282944
  • Last Price Increase: 2024-04-29
  • Automatic offers:
    • Krishna2323 | Contributor | 0
@Julesssss Julesssss added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Apr 26, 2024
@Julesssss Julesssss self-assigned this Apr 26, 2024
Copy link

melvin-bot bot commented Apr 26, 2024

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

@Krishna2323
Copy link
Contributor

Krishna2323 commented Apr 26, 2024

Proposal

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

Can't drag mouse to select text in input

What is the root cause of that problem?

Input in SelectionList does not intercept swipe.

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

We can pass shouldInterceptSwipe to TextInput in BaseSelectionList.

What alternative solutions did you explore? (Optional)

If we don't want to add shouldInterceptSwipe as default we can accept a prop shouldInterceptSwipe in BaseSelectionList and then pass it to TextInput and then pass shouldInterceptSwipe as true in NewChatPage. We will also look for similar components which uses OnyxTabNavigator and have inputs.

<SelectionList<OptionsListUtils.Option & ListItem>

Result

input_drag_issu.mp4

@Krishna2323
Copy link
Contributor

Proposal Updated

  • Minor update in alternative section and demo video added.

@Julesssss Julesssss added the External Added to denote the issue can be worked on by a contributor label Apr 29, 2024
Copy link

melvin-bot bot commented Apr 29, 2024

Job added to Upwork: https://www.upwork.com/jobs/~016f4130ede9fb97f6

@melvin-bot melvin-bot bot changed the title Can't drag mouse to select text in input [$250] Can't drag mouse to select text in input Apr 29, 2024
@melvin-bot melvin-bot bot added Overdue Help Wanted Apply this label when an issue is open to proposals by contributors labels Apr 29, 2024
Copy link

melvin-bot bot commented Apr 29, 2024

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

@ahmedGaber93
Copy link
Contributor

@Krishna2323, thanks for the proposal.

I think we just need to pass shouldInterceptSwipe only if it is part of top tab navigator rather than pass it by default, and this what we do in OptionsSelector.

@Krishna2323's alternative proposal #41104 (comment) looks good.

🎀 👀 🎀 C+ reviewed

Copy link

melvin-bot bot commented Apr 29, 2024

Current assignee @Julesssss is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new.

@Julesssss
Copy link
Contributor Author

I think we just need to pass shouldInterceptSwipe only if it is part of top tab navigator rather than pass it by default, and this what we do in OptionsSelector.

Sounds good to me 👍

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

melvin-bot bot commented Apr 30, 2024

📣 @ahmedGaber93 🎉 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 📖

Copy link

melvin-bot bot commented Apr 30, 2024

📣 @Krishna2323 🎉 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 📖

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label May 1, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels May 1, 2024
@Krishna2323
Copy link
Contributor

@ahmedGaber93, PR ready for review.

@melvin-bot melvin-bot bot added Monthly KSv2 and removed Weekly KSv2 labels May 24, 2024
Copy link

melvin-bot bot commented May 24, 2024

This issue has not been updated in over 15 days. @Julesssss, @strepanier03, @ahmedGaber93, @Krishna2323 eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@Krishna2323
Copy link
Contributor

@strepanier03, PR was deployed to production 2 weeks ago, this is ready for payments.

@ahmedGaber93
Copy link
Contributor

@strepanier03 This issue is ready for payment

@strepanier03
Copy link
Contributor

Sure thing, I was ooo last week and the failed automation really made this fall through the cracks.

Will finish today.

@strepanier03 strepanier03 added Daily KSv2 and removed Monthly KSv2 labels Jun 12, 2024
@strepanier03 strepanier03 changed the title [$250] Can't drag mouse to select text in input [PAY TODAY] [$250] Can't drag mouse to select text in input Jun 12, 2024
@strepanier03
Copy link
Contributor

Okay, both jobs are paid and contracts closed. Thanks again for the ping in Slack, always good idea to do that when the automation fails. So sorry for the delay as well, not fair to you two.

@strepanier03 strepanier03 changed the title [PAY TODAY] [$250] Can't drag mouse to select text in input [PAID [$250] Can't drag mouse to select text in input Jun 13, 2024
@strepanier03 strepanier03 changed the title [PAID [$250] Can't drag mouse to select text in input [PAID] Can't drag mouse to select text in input Jun 13, 2024
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 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

4 participants