-
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
Text highlighting and copy to clipboard are not working as expected #2845
Comments
Triggered auto assignment to @sonialiap ( |
Proposalwe will replace the selection range after 5ms, it will have been cleared by then. Why it's cleared I don't know.
|
This comment has been minimized.
This comment has been minimized.
Triggered auto assignment to @marcaaron ( |
This comment has been minimized.
This comment has been minimized.
Bump @isagoico if you have any more context. Can we create two issues for this? |
Sorry for missing this before. I combined the issues since they were similar imo. Will separate them and post the other issue here 😊 |
Created the other issue here #3134 |
Triggered auto assignment to @michaelhaxhiu ( |
Oopsie, I let this one slip in favor of some other project duties. Sorry, prioritizing right now. |
Ok so I think I see two separate issues/jobs, and would like a buddy check:
|
This sounds like #1341 to me so I wouldn't create another job for that.
I'm not sure that is an issue here and is kind of related to #1341 so I wouldn't file anything for it. I think the main issue here is that if you highlight part of a message and right-click, the context menu shows and then the highlighted text is unhighlighted, and the expected behavior is that the highlighted text should remain highlighted while the context menu is open. |
Yeah, @Jag96 has a point.
Also adding up to it, I think if user selects some text and open the context menu over it, only then selected text should be copied.
if user selects Rajat and then right click over cool then whole copy to clipboard should trigger instead of selected copy. |
Makes sense to me, it looks like this is how it is currently working on staging and production, but I agree this is an important note for regression testing for the PR that fixes this issue |
Ah thanks for clarifying guys, that makes sense! 😄 |
This isn't happening anymore on Web or Desktop, which is/was the core of my confusion! Here's a recording for reference of me trying many variants of copying-to-clipboard, and the context menu + highlighted text behaving properly: Text remains highlighted when the context menu is opened via right-click. |
@parasharrajat hmm I am not having issues with this one on Web or Desktop. The only scenario for highlight + copy-to-clipboard that I think is weird right now is this one:
|
I'm closing this GH for the time being because the initially reported bug is no longer existent. Glad to re-open if I'm misunderstanding / or make a new GH for what @parasharrajat brought up if it's indeed 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!
Expected Result:
Selected text should be displayed if the user right clicks the message
Actual Result:
Selected text is not shown after menu open. No way user can know what is going to be copied full message or selected text.
Action Performed:
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platform:
Where is this issue occurring?
Web ✔️
iOS
Android
Desktop App
Mobile Web
Version Number: 1.0.43-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Grabando.183.mp4
Expensify/Expensify Issue URL:
View all open jobs on Upwork
From @parasharrajat https://expensify.slack.com/archives/C01GTK53T8Q/p16208390261216007
The text was updated successfully, but these errors were encountered: