diff --git a/src/components/emoji_picker/emoji_picker.js b/src/components/emoji_picker/emoji_picker.js index 677ef5e471..3cb6f76d27 100644 --- a/src/components/emoji_picker/emoji_picker.js +++ b/src/components/emoji_picker/emoji_picker.js @@ -270,7 +270,7 @@ const EmojiPicker = { return this.allEmojiGroups .map(group => ({ ...group, - emojis: filterByKeyword(group.emojis, this.keyword) + emojis: filterByKeyword(group.emojis, trim(this.keyword)) })) .filter(group => group.emojis.length > 0) },