-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Web - Chat - Edited gets copied after selecting and copying an edited comment #48200
Comments
Triggered auto assignment to @OfstadC ( |
We think that this bug might be related to #wave-collect - Release 1 |
@OfstadC FYI 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 |
ProposalPlease re-state the problem that we are trying to solve in this issue.When copying a message by highlighting it and pressing CTRL+C, What is the root cause of that problem?The root cause of this issue is that the What changes do you think we should make in order to solve the problem?The solution to this problem is making sure we assign App/src/styles/utils/editedLabelStyles/index.ts Lines 1 to 12 in 9437d98
we can import the userSelect styles by adding: import userSelect from '../userSelect'; , and then change the editedLabelStyles constant to include the new style:
The result: Screen.Recording.2024-08-28.at.23.15.51.mp4 |
Working on this now |
Okay - so "edited" doesn't copy when double clicking and copying, nor when selecting the actual text, but it does if you drag your cursor over "edit" - It works this way in Slack too (just tested) - so I don't think this is a bug. |
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: 9.0.25-10
Reproducible in staging?: Y
Reproducible in production?: Y
Issue was found when executing this PR: #45150
Email or phone of affected tester (no customers): applausetester+nl460@applause.expensifail.com
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
"(edited)" doesn't get copied alongside the text
Actual Result:
"(edited)" gets copied with the text
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6585067_1724837936571.bandicam_2024-08-28_12-34-11-320.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: