Fix hide auto fill suggestions on msg send
Signed-off-by: Ajay Bura <[email protected]>
This commit is contained in:
1 parent
3c2058f0e1
commit
46dd50a744
1 file changed
+1
@@ -176,6 +176,7 @@ function RoomViewInput({
|
||||
}, [roomId]);
|
||||
|
||||
const sendMessage = async () => {
|
||||
requestAnimationFrame(() => deactivateCmdAndEmit());
|
||||
const msgBody = textAreaRef.current.value;
|
||||
if (roomsInput.isSending(roomId)) return;
|
||||
if (msgBody.trim() === '' && attachment === null) return;
|
||||
|
||||
Reference in new issue
Block a user