Skip to content
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

Multi-character Emoji not compatible with copy and paste #1684

Open
charlesmchen opened this issue Nov 2, 2017 · 1 comment
Open

Multi-character Emoji not compatible with copy and paste #1684

charlesmchen opened this issue Nov 2, 2017 · 1 comment

Comments

@charlesmchen
Copy link

In: Desktop Beta

Repro:

  • Send or receive:👌🏽👌🏾👌🏿 <-note that some of these emoji are multi-character.
  • Copy those emoji to clipboard.
  • Paste those emoji.

Expected: 👌🏽👌🏾👌🏿
Observed: 👌🏽👌🏽👌🏽 (only the first character of each emoji is preserved)

I think we're copying to the clipboard as the "name" of the emoji (e.g. ":ok_hand:"), not the emoji itself.

More good test data:
😍
👩🏽
👾 🙇 💁 🙅 🙆 🙋 🙎 🙍
🐵 🙈 🙉 🙊
❤️ 💔 💌 💕 💞 💓 💗 💖 💘 💝 💟 💜 💛 💚 💙
✋🏿 💪🏿 👐🏿 🙌🏿 👏🏿 🙏🏿
🚾 🆒 🆓 🆕 🆖 🆗 🆙 🏧
0️⃣ 1️⃣ 2️⃣ 3️⃣ 4️⃣ 5️⃣ 6️⃣ 7️⃣ 8️⃣ 9️⃣ 🔟
🇺🇸🇷🇺🇸 🇦🇫🇦🇲🇸
🇺🇸🇷🇺🇸🇦🇫🇦🇲
🇺🇸🇷🇺🇸🇦

@scottnonnenberg
Copy link
Contributor

Yeah, interesting. I notice that there seems to be no official name for the emoji with modifiers: https://emojipedia.org/ok-hand-sign-type-6/

What if we changed the copied text to be the actual emoji? I suppose it could result in weirdness when copying from a message into the message composition text box if the system doesn't support the full emoji set... But it would give us the right behavior in this scenario, at least on my machine...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants