Merge branch 'Yidadaa:main' into main

This commit is contained in:
Huang Jianhui
2023-04-20 10:25:28 +08:00
committed by GitHub
8 changed files with 51 additions and 51 deletions

View File

@@ -708,6 +708,7 @@ export function Chat(props: {
className={styles["chat-body"]}
ref={scrollRef}
onScroll={(e) => onChatBodyScroll(e.currentTarget)}
onMouseDown={() => inputRef.current?.blur()}
onWheel={(e) => setAutoScroll(hitBottom && e.deltaY > 0)}
onTouchStart={() => {
inputRef.current?.blur();