Comments (18)
Are you seeing these text /react-text react-text: 193
?
I'm testing on Android, looks alright
from emoji-gram.
Yeah on iOS and desktop when I paste that string appears.
from emoji-gram.
which desktop and browser?
from emoji-gram.
Ah, you're right! it's only happening in Safari desktop / Safari mobile
from emoji-gram.
Clipboard is not supported in Safari https://clipboardjs.com/
from emoji-gram.
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:
- tap the button
- manually tap to copy text to native clipboard from web.
- 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.
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.
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.
Try with new packed script and let me know.
from emoji-gram.
Somehow it happens only when you paste into Messages app on a mac, from Safari browser:
- using Safari on OS X, type a word
- press "select emoji" button
- press CMD + C (copy output)
- paste into email = works fine
- paste into Apple Messages app = returns weird parse lines.
from emoji-gram.
Are you copying with keyboard shortcut?
Which mac app is this?
from emoji-gram.
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.
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.
Well, I'm not sure how to track it down 😵
from emoji-gram.
If this helps, I recorded side by side to document:
https://www.dropbox.com/s/8dx721ln2168h31/issue.mov?dl=0
from emoji-gram.
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.
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.
Alright, it sounds like it's out of our hands. Thanks for digging into it!!
from emoji-gram.
Related Issues (16)
- Select Button Won't Display HOT 3
- Scroll Zones too small HOT 1
- Remove: Clear Text Field Hint HOT 3
- Update Core to latest "emojiart" HOT 4
- Set Max Width for Desktop HOT 4
- Scrollers Inaccurately Displaying Emoji Selection
- Set Default emoji to ❄️ / ❤️ HOT 1
- Allow Numbers & Special Characters HOT 2
- Tap To Select Not Working (on iPhone) HOT 16
- Feature Request: Phrase Recognition
- iOS keyboard displays when emoji textarea is focused
- Backgrounding web app clears state
- Android specific emoji list
- Feature Request: Swap Emoji Button
- Feature Request: Font Switcher
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emoji-gram.