This commit is contained in:
rxliuli 2025-03-23 10:32:42 +08:00 committed by GitHub
commit 95c151f38f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1186,7 +1186,7 @@ function _Chat() {
e.preventDefault();
return;
}
if (shouldSubmit(e) && promptHints.length === 0) {
if (!isMobileScreen && shouldSubmit(e) && promptHints.length === 0) {
doSubmit(userInput);
e.preventDefault();
}