Skip to content

Commit

Permalink
Adding a comment
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Michel <pmiche04@gmail.com>
  • Loading branch information
ShogunFire committed Oct 17, 2023
1 parent 34d0a51 commit fb05f35
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ function ComposerWithSuggestions({
if (!_.isEmpty(emojis)) {
const newEmojis = EmojiUtils.getAddedEmojis(emojis, emojisPresentBefore.current);
if (!_.isEmpty(newEmojis)) {
// Ensure emoji suggestions are hidden after inserting emoji even when the selection is not changed
if (suggestionsRef.current) {
suggestionsRef.current.resetSuggestions();
}
Expand Down

0 comments on commit fb05f35

Please sign in to comment.