question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[$8000] Mac / Safari - Copy to clipboard Tooltip doesn't show copied on clicking the clipboard icon.

See original GitHub 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:

  1. Go to any chat
  2. Click on the participant title to open the details view
  3. Click on the Copy to clipboard icon 📋 in the email.
  4. Notice that the tooltip is shown for Copy to clipboard but not Copied after the text is copied. (Videos to compare Chrome and Safari are attached)

Expected Result:

Copied tooltip should be shown

Actual Result:

Copied tooltip after the text is copied doesn’t show up

Workaround:

unknown

Platform:

Where is this issue occurring?

  • Web - Mac / Safari

Version Number: 1.2.33-2 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:

https://user-images.githubusercontent.com/43996225/204621989-5fad386a-c68b-4480-942b-158c8a71e4fe.mov

https://user-images.githubusercontent.com/43996225/204621991-264ae997-d575-4e1e-8cac-f35b5ccd3b88.mov

https://user-images.githubusercontent.com/43996225/204622210-9f209d52-af51-4250-a377-2cb5ed25e153.mp4

Expensify/Expensify Issue URL: Issue reported by: @mananjadhav Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1669714466881009

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~014886ff5b8f1db983
  • Upwork Job ID: 1598039428548734976
  • Last Price Increase: 2022-12-29

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:217 (186 by maintainers)

github_iconTop GitHub Comments

3reactions
mollfprcommented, Dec 30, 2022

Besides, my proposal, can you confirm to @getusha that his proposal is the same as @Pujan92 because you skipped @Pujan92 proposal. also you didn’t mention the regression, see here https://github.com/Expensify/App/issues/13146#issuecomment-1366844738

Yes, there’s a possibility where the regression arises as you mention. It’s okay, to correct each other but let’s keep the conversation civil.


Yes, i explained that in my comment you might seen that, which was if the tooltip updates and the user doesn’t have the chance to see it due to navigation / opened modal does the successText have any value? does this make sense to you?

I also have the same thought at first. To me having successText on the Hoverable component doesn’t make sense and I think your proposal has the same meaning as Pujan’s proposal where it’s easier to understand.


Put cursor into yellow circle and wait for the rectangle to come over the circle. :hover is not triggered until you move mouse on safari but working fine on chrome.

Thanks, @jatinsonijs for the summary and the example! I’ll read through your observation.

2reactions
mollfprcommented, Dec 29, 2022

Reviewing now…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Copy to Clipboard is Not Working in safari - Stack Overflow
It appears the Safari 10 is now supporting document.execCommand("copy") so that clipboard.js should work in the newest Safari now. – jfriend00. Jun 24, ......
Read more >
Copy Paste Not Working on Mac? Here's How to Fix a Stuck ...
Fix a stuck clipboard on Mac to remedy copy paste issues. Click on the ... Again if this approach doesn't work, just reboot...
Read more >
Copy To Clipboard Safari - Apple Support Communities
I have a textarea with some text inside it and also I have button called "Select & Copy" which selects the text however...
Read more >
Copy issue reference does not work on all browsers (Safari ...
Observed behavior. There is no tooltip notification and reference is not copied to the clipboard. /cc @rspeicher.
Read more >
Improving Copying to Clipboard Experience | by Masha S
Clicking on the icon copies the checkout command. When you hover over the icon, a neat tooltip appears and informs you of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found