-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[HOLD for payment 2023-04-26] [$2000] Text selection is Inconsistency #16420
Comments
Triggered auto assignment to @puneetlath ( |
Bug0 Triage Checklist (Main S/O)
|
Interesting. Doesn't seem to be selectable on Mac Desktop either. So it's not selectable on Mac Desktop or Chrome, but it is selectable on Safari. I would think it should be selectable on all. |
Job added to Upwork: https://www.upwork.com/jobs/~013fb4b31533dd1abd |
Current assignee @puneetlath is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Current assignee @puneetlath is eligible for the External assigner, not assigning anyone new. |
ProposalUser can not select text consistently in different browser and desktop for hero text and description displayed at beginning of new chat. Please re-state the problem that we are trying to solve in this issue.What is the root cause of that problem?This Say Hello content generated via code below: App/src/components/ReportWelcomeText.js Lines 69 to 94 in 95d7990
We can see at line 71 it will display What changes do you think we should make in order to solve the problem?We have to apply <View>
<Text style={[styles.textHero, styles.userSelectText]}>
{props.translate('reportActionsView.sayHello')}
</Text>
</View>
<Text style={[styles.mt3, styles.mw100, styles.userSelectText]}>
...
</Text> So this will solve the problem and make text selectable consistence in all browser and desktop app. See results. What alternative solutions did you explore? (Optional)None. ResultsDesktopDesktop.movChromeChrome.movSafariSafari.mov |
Proposalto make any text selectable in react native in all platform we need add prop offical soluation make it work in all platforms see selectable in docs. <Text selectable>select me</Text> Screen.Recording.2023-03-28.at.12.49.19.AM.movContributor details |
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Text selection is Inconsistency among platform What is the root cause of that problem?In ScreenWrapper Component, we are using userSelect: 'auto' Lines 1321 to 1325 in 7003d95
So the selection of text will depend on the browser as reference What changes do you think we should make in order to solve the problem?In here Lines 1321 to 1325 in 7003d95
We should use the text value for userSelect and WebkitUserSelect if we want the text can be selected on all platforms
I just applied this solution and did not encounter the issue mentioned in #12730 We can consider using -ms-user-select with the same value as What alternative solutions did you explore? (Optional)Result |
I think this has the same root cause of #14402. At that time we decided to just close the issue since the changes are not that easy to test across the app. |
@puneetlath, @rushatgabhane Whoops! This issue is 2 days overdue. Let's get this updated quick! |
waiting on @tienifr's reply |
@rushatgabhane My proposal only updates userSelect and WebkitUserSelect in Report Screen. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.1-3 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 2023-04-26. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
@DinalJivani @tienifr can you apply to the upwork job please: https://www.upwork.com/jobs/~013fb4b31533dd1abd |
@puneetlath |
Yes, please apply! |
@puneetlath Applied! |
@puneetlath applied, thanks! |
@rushatgabhane bump on the checklist. |
Paid @tienifr. Just waiting on checklist for @rushatgabhane |
@rushatgabhane another friendly bump on the checklist so that we can get this issue closed out and get you paid. Thanks! |
@rushatgabhane bump again. Let's get this to the finish line! |
If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
|
@puneetlath im extremely sorry for the delay! |
Thanks @rushatgabhane! Can you accept the Upwork offer as well so that I can pay you out? |
@puneetlath, @rushatgabhane, @tienifr Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Just waiting for @rushatgabhane to accept the Upwork offer. |
@puneetlath sent you a dm on new dot |
All paid. Thanks everyone! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Selection should be consistent on all platforms
Actual Result:
Selection is not consistent among all platforms
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.88-0
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:
Screen.Recording.2023-03-22.at.1.21.39.PM.mov
Recording.136.mp4
Expensify/Expensify Issue URL:
Issue reported by: @DinalJivani
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1679471738156789
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: