From 8405c188a4b81aad43a77e3746af30a6fd9fb248 Mon Sep 17 00:00:00 2001 From: s-alves10 Date: Tue, 5 Dec 2023 03:42:30 -0600 Subject: [PATCH] fix: stop propagation of keyboard enter event --- src/components/EmojiPicker/EmojiPickerMenu/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/EmojiPicker/EmojiPickerMenu/index.js b/src/components/EmojiPicker/EmojiPickerMenu/index.js index 80f6581d9443..13021a636459 100755 --- a/src/components/EmojiPicker/EmojiPickerMenu/index.js +++ b/src/components/EmojiPicker/EmojiPickerMenu/index.js @@ -308,6 +308,7 @@ function EmojiPickerMenu(props) { const emoji = lodashGet(item, ['types', preferredSkinTone], item.code); onEmojiSelected(emoji, item); keyBoardEvent.preventDefault(); + keyBoardEvent.stopPropagation(); return; }