mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-24 04:10:15 +01:00
chore: add comment
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
6fc88f3895
commit
917be0257b
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue