diff --git a/src/components/emoji_picker/emoji_picker.js b/src/components/emoji_picker/emoji_picker.js index 677ef5e4..3cb6f76d 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) },