This commit is contained in:
rxliuli 2025-04-21 16:07:09 +00:00 committed by GitHub
commit 3732a44983
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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();
}