DEV Community

Discussion on: Emoji Button: 400 ⭐️ stars on GitHub!

Collapse
 
crimsonmed profile image
Médéric Burlet

Looks awesome congrats man!

Do be careful I think there are a few issues on firefox where the cursor is bigger than the textbox.

I would also say add an option to have the emoji panel open on textbox focus.

Spacer Bigger

Collapse
 
joeattardi profile image
Joe Attardi

Oops, yes, I need to fix that Firefox issue. However, that is an issue with the demo site only - not the library itself.

Emoji Button is a very generic library - it doesn't dictate how you show it. The text boxes are just an example. You can call showPicker() when a button is clicked, as in the demo, or you can also call it when the text box is focused, as you suggested.

Thanks for taking a look!