禁用了点击输入框就跳转

This commit is contained in:
sijinhui
2024-10-01 23:26:06 +08:00
parent 1d9a2b5315
commit 47c72bf010
3 changed files with 3 additions and 4 deletions

View File

@@ -2134,8 +2134,8 @@ function _Chat() {
onInput={(e) => onInput(e.currentTarget.value)}
value={userInput}
onKeyDown={onInputKeyDown}
onFocus={scrollToBottom}
onClick={scrollToBottom}
// onFocus={scrollToBottom}
// onClick={scrollToBottom}
onPaste={handlePaste}
rows={inputRows}
autoFocus={autoFocus}