Fix reaction selector doesn't focus msg input (#62)

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2021-10-25 17:28:14 +05:30 committed by Krishan
parent 0bd22bee13
commit 54dd5a4edb

View file

@ -313,6 +313,7 @@ function RoomViewInput({
function addEmoji(emoji) { function addEmoji(emoji) {
textAreaRef.current.value += emoji.unicode; textAreaRef.current.value += emoji.unicode;
textAreaRef.current.focus();
} }
function handleUploadClick() { function handleUploadClick() {