From 34bf5e26315391d2a2d0154ca5ea7995c125f306 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Tue, 23 Apr 2024 16:42:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=B2=98=E8=B4=B4=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=8F=91=E9=80=81=E6=97=B6,=20=E6=9C=AA=E8=AF=BB=E5=8F=96?= =?UTF-8?q?=E5=AE=8C=E6=AF=95=E7=A6=81=E6=AD=A2=E5=9B=9E=E8=BD=A6=E5=8F=91?= =?UTF-8?q?=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Conversations/Online/InputComposer.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Conversations/Online/InputComposer.jsx b/src/views/Conversations/Online/InputComposer.jsx index 6a09e42..7eb4aff 100644 --- a/src/views/Conversations/Online/InputComposer.jsx +++ b/src/views/Conversations/Online/InputComposer.jsx @@ -266,7 +266,7 @@ const InputComposer = ({ mobile }) => { onPressEnter={(e) => { if (!e.shiftKey && mobile === undefined) { e.preventDefault(); - handleSendText(); + if (textabled && !pastedUploading) handleSendText(); } }} autoSize={{ minRows: 2, maxRows: 6 }}