Post

Aye or Nay? `<input type=emoji>` to trigger the native emoji-picker, allowing you to pick a single emoji.

Also it would fallback to a text input in unsupporting browsers which is quite different to what is desired imo. Tbh I think a window.showEmojiPicker() is probably a good first step anyway. Give people a JS way to invoke it and use the selected character somehow?

We often want to insert the chosen emoji into a textarea or something, so the picker itself being an input feels wrong regardless. <button emojipicker> is perhaps a better design for progressive enhancement?

Yeah it's more akin to a menu or perhaps a datalist?

0 reposts1 like

A datalist attached to the text field you're currently writing in. And as a user, you want the emoji picker to be where your caret is. Emoji buttons exist due to technical limitations, imho, not because they're the best approach UX-wise.

This is a problem for the platforms to solve though, across the whole thing, in every app, not specific to the web. (on linux it's "complicated", as always; I've had a shortcut working at some point, something related to dbus iirc, but it then stopped working, or I disabled it due to side effects)