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

emoji containing '-' issue #39

Open
Dror-Bar opened this issue Jul 26, 2019 · 2 comments
Open

emoji containing '-' issue #39

Dror-Bar opened this issue Jul 26, 2019 · 2 comments

Comments

@Dror-Bar
Copy link

First of all, great library.
I've noticed some issues with emoji containing the character '-' : in particular, all of the 'male-...' 'female-...' 'man-...' 'woman-...' : these emoji appear to be broken for me (they don't appear correctly).
Any idea what is causing this?

@rijn
Copy link
Collaborator

rijn commented Jul 28, 2019

I have no idea at the moment. Can you provide more information about the environment? e.g. which platform, os version, and how you use the lib? One thing that might cause this issue is the our emoji data source.

@Dror-Bar
Copy link
Author

Dror-Bar commented Jul 28, 2019

On Ios simulator and Android emulator it works correctly as expected:

Screenshot_1564296874

On my device, which is Android 7.0 Motorola, emojis such as those I mentioned are broken:

Screenshot_20190728-095620

As you can see it thinks something like 'man-painter' is two different emojis for some reason (man + paint) which causes messed up positioning of duplicate emojis on top of each other. I'm not sure exactly why this is happening.

I also found out that the flag emotes, that also contain '-' work correctly, so it's not strictly the '-' character.

As a temporary solution I'm using the filterFunctions prop to filter out the broken emojis, tho it would be nice to have them.

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

No branches or pull requests

2 participants