Emoji dropdown should disappear when pressing <enter>

When you type a colon, a dropdown for emojis appears at your cursor’s location. Then, when you use your keyboard to go down to the more option, another menu appears with more emojis.

The problem is that when you do this at the right side of the editor, the dropdown will cover the modal with the rest of the emojis.

This problem does not exist when using the mouse.

3 Likes

Hmm, yes, good point. We should dismiss the emoji selector in that case.

1 Like

I’ll look into this, I know what is causing this.

3 Likes

Fixed in

https://github.com/discourse/discourse/commit/2db42e970dbe65d50d14b208e14cd601feb27bba

5 Likes