From 917be0257b3ef26199c4e2d7520d014e5004d6ad Mon Sep 17 00:00:00 2001 From: Marco Beretta <81851188+berry-13@users.noreply.github.com> Date: Fri, 2 May 2025 23:39:08 +0200 Subject: [PATCH] chore: add comment Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- client/src/components/Chat/Input/ChatForm.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/components/Chat/Input/ChatForm.tsx b/client/src/components/Chat/Input/ChatForm.tsx index 72e04091f5..c66f82965d 100644 --- a/client/src/components/Chat/Input/ChatForm.tsx +++ b/client/src/components/Chat/Input/ChatForm.tsx @@ -132,6 +132,7 @@ const ChatForm = memo(({ index = 0 }: { index?: number }) => { const onSubmit = methods.handleSubmit((data: { text: string }) => { submitMessage(data); + // On touch-screen devices, blur the text area to dismiss the on-screen keyboard if (isTouchScreen) { textAreaRef.current?.blur(); }