From: Ajay Bura Date: Mon, 25 Oct 2021 11:58:14 +0000 (+0530) Subject: Fix reaction selector doesn't focus msg input (#62) X-Git-Tag: v1.5.0~28 X-Git-Url: https://git.wafflesoft.org/?a=commitdiff_plain;h=f544dab3e0cf11708c2986cfb2a4873f71d79776;p=cinny.git Fix reaction selector doesn't focus msg input (#62) Signed-off-by: Ajay Bura --- diff --git a/src/app/organisms/room/RoomViewInput.jsx b/src/app/organisms/room/RoomViewInput.jsx index 5ca4fdd..6d4a22f 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() {