Opening emoji popover should focus on emoji search box

Most of the time when I click the emoji icon I just look for the one I want. Every once in a while I want to search though. When that happens I usually start typing right away, before I realize nothing is happening. Is there any reason not to focus on the input as soon as the emoji popover is opened so that typing will immediately narrow the emoji displayed?

2 Likes

@maja can you make it so that whenever you click the more… in the emoji popup, it automatically focus on the textbox?

3 Likes

Would that handle clicking the emoji icon from the editor menu too?

1 Like

Yes it should work as well :+1:

1 Like

Be careful with mobile or touch devices, as pushing a focus will pop the on-screen keyboard.

Not an issue if the composer already has focus, of course.

4 Likes

Added in:

https://github.com/discourse/discourse/commit/12c37ada2e37bc51b5f503479d7da5377d5319ab

4 Likes