FIX: Close emoji autocomplete when the opening colon `:` is removed (PR #14102)

As you can see in the video, I type A :a in the composer and the emoji autocomplete menu shows up with 5 suggestions as expected. However, when I backspace and delete :a, the emoji autocomplete menu remains shown even though the colon that triggers emoji autocomplete has been removed.

GitHub