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개의 좋아요

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

3개의 좋아요

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

1개의 좋아요

Yes it should work as well :+1:

1개의 좋아요

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개의 좋아요

Added in:

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

4개의 좋아요