ealush / emoji-picker-react

The most popular React Emoji Picker
https://ealush.com/emoji-picker-react/
MIT License
983 stars 165 forks source link

Some emojis are not working #418

Open lexpierini opened 3 weeks ago

lexpierini commented 3 weeks ago

Some emojis are not working. Follow the codes: '1fae0', '1f972', '1fae2', '1fae3', '1fae1', '1fae5', '1f978', '1fae4', '1f979'.

Screenshot 2024-06-17 141602

"react": "^18.2.0", "emoji-picker-react": "^4.10.0",

ealush commented 1 week ago

What do you mean by not working?

lexpierini commented 5 days ago

What do you mean by not working?

Note that the emoji property does not display the corresponding emoji, but a square with a question mark. This happens with many other emojis. I also noticed that the country flags only display the first two letters. For example, flag Canada only displays "ca"

Screenshot 2024-07-04 083530

Screenshot 2024-07-04 083419

ealush commented 5 days ago

This seems like a rendering issue in your operating system. Unfortunately, windows does not have an emoji for most flags.

On Thu, Jul 4, 2024 at 3:52 PM Alex Forastier Pierini < @.***> wrote:

What do you mean by not working?

Note that the emoji property does not display the corresponding emoji, but a square with a question mark. This happens with many other emojis. I also noticed that the country flags only display the first two letters. For example, flag Canada only displays "ca"

Screenshot.2024-07-04.083530.jpg (view on web) https://github.com/ealush/emoji-picker-react/assets/57262240/fe89702a-7eee-4c34-a342-fc25037d3acb

Screenshot.2024-07-04.083419.jpg (view on web) https://github.com/ealush/emoji-picker-react/assets/57262240/0bc6acc6-752b-4424-85f6-00d539336f70

— Reply to this email directly, view it on GitHub https://github.com/ealush/emoji-picker-react/issues/418#issuecomment-2208905437, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACV32P2VGADP73YJP4CJ7W3ZKVASJAVCNFSM6AAAAABJOSHVGCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBYHEYDKNBTG4 . You are receiving this because you commented.Message ID: @.***>

lexpierini commented 5 days ago

Would it be possible to have a property, like hiddenEmojis, but which hides an entire caterogy? For example, hide the flag category without me having to insert all the codes in the array of the hiddenEmojis property.

ealush commented 5 days ago

In the current config you'd need to pass the category config prop and exclude the flags category specifically , but you don't need to pass each flag individually

lexpierini commented 5 days ago

ok, in this case using the categories property. Thank you.

In the case of the emojis in the first image, do you think it's due to the rendering of the operating system as well, in this case Windows?

codes: '1fae0', '1f972', '1fae2', '1fae3', '1fae1', '1fae5', '1f978', '1fae4', '1f979'.