-
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-06-30] [$1000] Text remains selected in a PDF attachment even after clicking on a blank space. #20098
Comments
Triggered auto assignment to @trjExpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.After selecting text in pdf attachment the text remains selected even when user clicks on blank space. What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?To over write this we have to use !important in https://github.com/Expensify/App/blob/main/assets/css/pdf.css file. What alternative solutions did you explore? (Optional)N/A |
I can reproduce this on the latest staging, moving on external. |
Job added to Upwork: https://www.upwork.com/jobs/~011482fa67cb29b12b |
Current assignee @trjExpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat ( |
Triggered auto assignment to @puneetlath ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.We can't deselect the text highlighted inside a PDF when we click on an empty area What is the root cause of that problem?The root cause of the issue is the styling of the
, a styling option that prevents users from affecting the document. What changes do you think we should make in order to solve the problem?Since I don't want to interfere with imported modules' code, my solution would be to add a
and then append this to the Document props:
Video of solution: Screen.Recording.2023-06-05.at.7.12.29.PM.mov |
Reviewing... |
Can I work on this? |
Thanks for both of the proposals @Nodebrute @Thanos30. @Nodebrute We don't prefer CSS-based solutions. Let's dig more to find a better solution that fits well with react. |
@will0225 If you are interested, feel free to send a proposal. This issue is open for proposals. |
where do we set the property? Which property? How do we set the property? |
This is the picture of working solution |
Ok. Thanks for the clarification. Still not sold on this. It comes down to manipulating styles directly on DOM (CSS). Isn't there any React-native/react way to solve this issue? Why the |
ProposalPlease re-state the problem that we are trying to solve in this issue.Text remains selected in PDF attachment event after clicking on a blank space. What is the root cause of that problem?The root cause of this issue lies in the usage of an older version of I don't think that the problem is with What changes do you think we should make in order to solve the problem?We need to update Screen.Recording.2023-06-12.at.3.46.05.AM.movWhat alternative solutions did you explore? (Optional)None |
@puneetlath - giving this one back to you as I'm heading out on sabbatical. |
👋 @parasharrajat @allroundexperts can you guys get to the checklist so we can proceed to payments? Thanks! |
No change since Friday, awaiting the checklist! |
Same, require the checklist to be filled out ahead of payments! |
@parasharrajat @allroundexperts can you guys complete the checklist so we can proceed with payments, please? |
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:
Regression Test Steps
Do you agree 👍 or 👎 ? |
@trjExpensify Please hold my payments for now. Thanks. I will update you within 5 days. |
@puneetlath, @trjExpensify, @parasharrajat, @allroundexperts Whoops! This issue is 2 days overdue. Let's get this updated quick! |
@trjExpensify Payment requested 1K. |
Cool, thanks! Outside of that, I've proceeded on Upwork with the following: @Tushu17 - $250 for the bug report (Offer sent) As for the regression test, I think we can modify one of the existing test scripts to accommodate this (bold for emphasis). Issue created here.
|
@trjExpensify offer accepted. Thank you. |
@Tushu17 paid! |
@puneetlath, @trjExpensify, @parasharrajat, @allroundexperts Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Approved $1000 to Rajat based on #20098 (comment) (checklist completed since) |
Neeeat! Thanks, closing! :) |
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:
Clicking on a blank space should unselect the text within the PDF attachment.
Actual Result:
The text remains highlighted when clicking on a blank space.
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?
Version Number: 1.3.22-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: Any additional supporting documentation
Screen.Recording.2023-06-01.at.2.29.25.PM.mov
Recording.856.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Tushu17
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1685610012204549
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: