From e98cf8e67fbfaa53e1e523f8503700b57412a158 Mon Sep 17 00:00:00 2001 From: Josue Echandia Date: Wed, 15 Jun 2022 12:05:08 -0500 Subject: [PATCH] Proposal Issue 9413 --- src/components/EmojiPicker/EmojiPickerMenu/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/EmojiPicker/EmojiPickerMenu/index.js b/src/components/EmojiPicker/EmojiPickerMenu/index.js index 258a6e21536f..3747cf0efb60 100755 --- a/src/components/EmojiPicker/EmojiPickerMenu/index.js +++ b/src/components/EmojiPicker/EmojiPickerMenu/index.js @@ -135,6 +135,8 @@ class EmojiPickerMenu extends Component { this.keyDownHandler = (keyBoardEvent) => { if (keyBoardEvent.key.startsWith('Arrow')) { + keyBoardEvent.preventDefault(); + // Move the highlight when arrow keys are pressed this.highlightAdjacentEmoji(keyBoardEvent.key); return;