projects
/
rainny.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c2058f
)
Fix hide auto fill suggestions on msg send
author
Ajay Bura
<ajbura@gmail.com>
Mon, 13 Dec 2021 14:08:11 +0000
(19:38 +0530)
committer
Ajay Bura
<ajbura@gmail.com>
Mon, 13 Dec 2021 14:08:11 +0000
(19:38 +0530)
Signed-off-by: Ajay Bura <ajbura@gmail.com>
src/app/organisms/room/RoomViewInput.jsx
patch
|
blob
|
history
diff --git
a/src/app/organisms/room/RoomViewInput.jsx
b/src/app/organisms/room/RoomViewInput.jsx
index ba1101437c86bd83ca2ed9fabc350bc1d840dd00..94e5c8236ab8e984f9ad14128aad93bb6c5703a2 100644
(file)
--- a/
src/app/organisms/room/RoomViewInput.jsx
+++ b/
src/app/organisms/room/RoomViewInput.jsx
@@
-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;