Giter Site home page Giter Site logo

Comments (18)

amitava82 avatar amitava82 commented on June 21, 2024

Are you seeing these text /react-text react-text: 193?
I'm testing on Android, looks alright

from emoji-gram.

eric-lobdell avatar eric-lobdell commented on June 21, 2024

Yeah on iOS and desktop when I paste that string appears.

from emoji-gram.

amitava82 avatar amitava82 commented on June 21, 2024

which desktop and browser?

from emoji-gram.

eric-lobdell avatar eric-lobdell commented on June 21, 2024

Ah, you're right! it's only happening in Safari desktop / Safari mobile

from emoji-gram.

amitava82 avatar amitava82 commented on June 21, 2024

Clipboard is not supported in Safari https://clipboardjs.com/

from emoji-gram.

eric-lobdell avatar eric-lobdell commented on June 21, 2024

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:

  1. tap the button
  2. manually tap to copy text to native clipboard from web.
  3. paste anywhere

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.

from emoji-gram.

amitava82 avatar amitava82 commented on June 21, 2024

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

❄️❄️❄️❄️❄️❄️❄️❄️
❄️❄️❤️❤️❤️❄️❄️❄️
❄️❄️❄️❤️❤️❤️❄️❄️
❄️❄️❤️❄️❤️❤️❄️❄️
❄️❄️❤️❄️❄️❤️❤️❄️
❄️❤️❤️❤️❤️❤️❤️❄️
❄️❤️❄️❄️❄️❤️❤️❤️
❤️❤️❤️❄️❤️❤️❤️❤️
❄️❄️❄️❄️❄️❄️❄️❄️
❤️❤️❤️❤️❤️❤️❄️❄️
❄️❤️❤️❄️❄️❤️❤️❄️
❄️❤️❤️❄️❄️❤️❤️❄️
❄️❤️❤️❄️❄️❤️❤️❄️
❄️❤️❤️❄️❄️❤️❤️❄️
❄️❤️❤️❄️❄️❤️❤️❄️
❤️❤️❤️❤️❤️❤️❄️❄️
❄️❄️❄️❄️❄️❄️❄️❄️
❄️❄️❤️❤️❤️❄️❄️❄️
❄️❄️❄️❤️❤️❤️❄️❄️
❄️❄️❤️❄️❤️❤️❄️❄️
❄️❄️❤️❄️❄️❤️❤️❄️
❄️❤️❤️❤️❤️❤️❤️❄️
❄️❤️❄️❄️❄️❤️❤️❤️
❤️❤️❤️❄️❤️❤️❤️❤️
❄️❄️❄️❄️❄️❄️❄️❄️
❤️❤️❤️❤️❤️❤️❄️❄️
❄️❤️❤️❄️❄️❤️❤️❄️
❄️❤️❤️❄️❄️❤️❤️❄️
❄️❤️❤️❄️❄️❤️❤️❄️
❄️❤️❤️❄️❄️❤️❤️❄️
❄️❤️❤️❄️❄️❤️❤️❄️
❤️❤️❤️❤️❤️❤️❄️❄️
❄️❄️❄️❄️❄️❄️❄️❄️
❄️❄️❤️❤️❤️❄️❄️❄️
❄️❄️❄️❤️❤️❤️❄️❄️
❄️❄️❤️❄️❤️❤️❄️❄️
❄️❄️❤️❄️❄️❤️❤️❄️
❄️❤️❤️❤️❤️❤️❤️❄️
❄️❤️❄️❄️❄️❤️❤️❤️
❤️❤️❤️❄️❤️❤️❤️❤️
❄️❄️❄️❄️❄️❄️❄️❄️
❄️❄️❤️❤️❤️❄️❄️❄️
❄️❄️❄️❤️❤️❤️❄️❄️
❄️❄️❤️❄️❤️❤️❄️❄️
❄️❄️❤️❄️❄️❤️❤️❄️
❄️❤️❤️❤️❤️❤️❤️❄️
❄️❤️❄️❄️❄️❤️❤️❤️
❤️❤️❤️❄️❤️❤️❤️❤️
❄️❄️❄️❄️❄️❄️❄️❄️

from emoji-gram.

eric-lobdell avatar eric-lobdell commented on June 21, 2024

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?

from emoji-gram.

amitava82 avatar amitava82 commented on June 21, 2024

Try with new packed script and let me know.

from emoji-gram.

eric-lobdell avatar eric-lobdell commented on June 21, 2024

Somehow it happens only when you paste into Messages app on a mac, from Safari browser:

  1. using Safari on OS X, type a word
  2. press "select emoji" button
  3. press CMD + C (copy output)
  4. paste into email = works fine
  5. paste into Apple Messages app = returns weird parse lines.

screen shot 2016-06-23 at 12 58 23 am

from emoji-gram.

amitava82 avatar amitava82 commented on June 21, 2024

Are you copying with keyboard shortcut?
Which mac app is this?

from emoji-gram.

eric-lobdell avatar eric-lobdell commented on June 21, 2024

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

from emoji-gram.

eric-lobdell avatar eric-lobdell commented on June 21, 2024

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.

from emoji-gram.

amitava82 avatar amitava82 commented on June 21, 2024

Well, I'm not sure how to track it down 😵

from emoji-gram.

eric-lobdell avatar eric-lobdell commented on June 21, 2024

If this helps, I recorded side by side to document:

https://www.dropbox.com/s/8dx721ln2168h31/issue.mov?dl=0

from emoji-gram.

amitava82 avatar amitava82 commented on June 21, 2024

I'll create a repo case outside this app. If I can reproduce same issue then it either goes to React or Apple!

from emoji-gram.

amitava82 avatar amitava82 commented on June 21, 2024

Alright, It's a Bug either in React or Safari or Messenger or all of them :D
Bug reported in React: facebook/react#7106

from emoji-gram.

eric-lobdell avatar eric-lobdell commented on June 21, 2024

Alright, it sounds like it's out of our hands. Thanks for digging into it!!

from emoji-gram.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.