-
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 - $250] Firefox - Chat- Intended comment not copied to clipboard after highlighting a part of the text and selecting another message reported by @daraksha-dk #12523
Comments
Triggered auto assignment to @NicMendonca ( |
I am having trouble reproducing this, so asking here |
Current assignee @NicMendonca is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Triggered auto assignment to @tgolen ( |
Job posting: https://www.upwork.com/jobs/~01062c3d4a49229c53 |
Proposal--- a/src/pages/home/report/ReportActionItem.js
+++ b/src/pages/home/report/ReportActionItem.js
@@ -107,6 +107,13 @@ class ReportActionItem extends Component {
if (this.props.draftMessage) {
return;
}
+
+ const windowSelection = window.getSelection();
+ if (!event.target.contains(windowSelection.focusNode)) {
+ windowSelection.selectAllChildren(event.target);
+ windowSelection.removeAllRanges();
+ }
+
const selection = SelectionScraper.getCurrentSelection();
ReportActionContextMenu.showContextMenu(
ContextMenuActions.CONTEXT_MENU_TYPES.REPORT_ACTION, Pros & ConsPros:
Cons: (maybe Pros2?)
Kooha-2022-11-08-17-43-58.mp4 |
I am about to go OOO for a week, so re-assigning. |
Triggered auto assignment to @slafortune ( |
I think this should be set on hold in favour of #12521 |
@tgolen @s77rt @Santhosh-Sellavel The other issue is moving along nicely - any reason why this one can't be closed? |
@slafortune Not the same issue. |
AFAIK we said we would not be focusing on supporting firefox, so I think we should close this issue. |
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:
the whole message should get copied for which the context menu was open
Actual Result :
Only the initial selected text is getting copied
Workaround:
unknown
Platform:
Where is this issue occurring?
Version Number: 1.2.24-1
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
copy.issue.mp4
Recording.865.mp4
Expensify/Expensify Issue URL:
Issue reported by: @daraksha-dk
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1667833739312529
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: