From f544dab3e0cf11708c2986cfb2a4873f71d79776 Mon Sep 17 00:00:00 2001 From: Ajay Bura Date: Mon, 25 Oct 2021 17:28:14 +0530 Subject: [PATCH] Fix reaction selector doesn't focus msg input (#62) Signed-off-by: Ajay Bura --- src/app/organisms/room/RoomViewInput.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/organisms/room/RoomViewInput.jsx b/src/app/organisms/room/RoomViewInput.jsx index 5ca4fdd3..6d4a22f6 100644 --- a/src/app/organisms/room/RoomViewInput.jsx +++ b/src/app/organisms/room/RoomViewInput.jsx @@ -313,6 +313,7 @@ function RoomViewInput({ function addEmoji(emoji) { textAreaRef.current.value += emoji.unicode; + textAreaRef.current.focus(); } function handleUploadClick() {