diff --git a/lib/src/emoji_picker_utils.dart b/lib/src/emoji_picker_utils.dart index 35212b8..76908cb 100644 --- a/lib/src/emoji_picker_utils.dart +++ b/lib/src/emoji_picker_utils.dart @@ -50,8 +50,9 @@ class EmojiPickerUtils { return _allAvailableEmojiEntities .toSet() - .where( - (emoji) => emoji.name.toLowerCase().contains(keyword.toLowerCase())) + .where((emoji) => + (emoji.name.toLowerCase().contains(keyword.toLowerCase()) || + emoji.emoji == keyword.trim())) .toSet() .toList(); }