diff --git a/src/EmojiPicker.vue b/src/EmojiPicker.vue index b1f354a..984dc34 100644 --- a/src/EmojiPicker.vue +++ b/src/EmojiPicker.vue @@ -69,7 +69,7 @@ obj[category] = {} for (const emoji in this.emojiTable[category]) { - if (new RegExp(`.*${escapeRegExp(this.search)}.*`).test(emoji)) { + if (new RegExp(`.*${escapeRegExp(this.search.toLowerCase())}.*`).test(emoji)) { obj[category][emoji] = this.emojiTable[category][emoji] } }