diff --git a/resources/qml/emoji/EmojiPicker.qml b/resources/qml/emoji/EmojiPicker.qml
index 354e340cde12a7c67885fae0cbce344850bbc16d..e83f8a5e16aa5e19e3d3c964f96ebab2569c51ee 100644
--- a/resources/qml/emoji/EmojiPicker.qml
+++ b/resources/qml/emoji/EmojiPicker.qml
@@ -72,7 +72,8 @@ Menu {
                 onVisibleChanged: {
                     if (visible)
                         forceActiveFocus();
-
+                    else
+                        clear();
                 }
 
                 Timer {