-
Notifications
You must be signed in to change notification settings - Fork 4
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
Resolve Copy Paste Issue #9
Comments
Are you seeing these text |
Yeah on iOS and desktop when I paste that string appears. |
which desktop and browser? |
Ah, you're right! it's only happening in Safari desktop / Safari mobile |
Clipboard is not supported in Safari https://clipboardjs.com/ |
Well we don't need the button to actually copy the text. Are we using clipboard for the sole purpose of selecting all text? I figured on mobile:
Then it would just behave as if you had copied a large string of text. On desktop, I thought we could copy text to the clipboard in one click, but if that's not the case, we can just do the same as mobile. |
No clipboard will automatically copy the code in clipboard. Selection is separate. I tried on Mac and Safari and it seems to copy correct code ❄️❄️❄️❄️❄️❄️❄️❄️ |
Interesting. Let's consider this resolved until I can find steps to reproduce. There might be an issue with the way I'm packaging it, perhaps? |
Try with new packed script and let me know. |
Are you copying with keyboard shortcut? |
Sorry, I updated my reproduction steps. yes, I use keyboard shortcut CMD + C to copy and I'm pasting directly into the Mac (OS X) Messages app |
Another update! This only occurs when you use Safari web browser and paste into Apple Messages app... If you use chrome and paste into messages, it works fine. |
Well, I'm not sure how to track it down 😵 |
If this helps, I recorded side by side to document: |
I'll create a repo case outside this app. If I can reproduce same issue then it either goes to React or Apple! |
Alright, It's a Bug either in React or Safari or Messenger or all of them :D |
Alright, it sounds like it's out of our hands. Thanks for digging into it!! |
When you copy the emoji art and then paste it into messenger, you get a result like this:
❄️❄️❄️❄️❄️❄️❄️❄️
/react-text react-text: 190 ❤️❤️❤️❤️❤️❤️❤️❤️
❤️❤️❄️❤️❤️❄️❤️❤️
❤️❄️❄️❤️❤️❄️❄️❤️
❄️❄️❄️❤️❤️❄️❄️❄️
❄️❄️❄️❤️❤️❄️❄️❄️
❄️❄️❄️❤️❤️❄️❄️❄️
❄️❄️❤️❤️❤️❤️❄️❄️
❄️❄️❄️❄️❄️❄️❄️❄️
/react-text react-text: 191 ❤️❤️❤️❤️❤️❤️❤️❄️
❄️❤️❤️❄️❄️❤️❤️❄️
❄️❤️❤️❄️❄️❄️❄️❄️
❄️❤️❤️❤️❤️❤️❄️❄️
❄️❤️❤️❄️❄️❄️❄️❄️
❄️❤️❤️❄️❄️❤️❤️❄️
❤️❤️❤️❤️❤️❤️❤️❄️
❄️❄️❄️❄️❄️❄️❄️❄️
/react-text react-text: 192 ❄️❄️❤️❤️❤️❤️❤️❄️
❄️❤️❤️❄️❄️❤️❤️❄️
❄️❤️❤️❤️❄️❄️❄️❄️
❄️❄️❤️❤️❤️❤️❄️❄️
❄️❄️❄️❄️❤️❤️❤️❄️
❄️❤️❤️❄️❄️❤️❤️❄️
❄️❤️❤️❤️❤️❤️❄️❄️
❄️❄️❄️❄️❄️❄️❄️❄️
/react-text react-text: 193 ❤️❤️❤️❤️❤️❤️❤️❤️
❤️❤️❄️❤️❤️❄️❤️❤️
❤️❄️❄️❤️❤️❄️❄️❤️
❄️❄️❄️❤️❤️❄️❄️❄️
❄️❄️❄️❤️❤️❄️❄️❄️
❄️❄️❄️❤️❤️❄️❄️❄️
❄️❄️❤️❤️❤️❤️❄️❄️
❄️❄️❄️❄️❄️❄️❄️❄️
The text was updated successfully, but these errors were encountered: