Merge pull request #2 from zwxkb/revert-1-main

Revert "tb"
This commit is contained in:
zwxkb
2023-04-18 19:54:08 +08:00
committed by GitHub

View File

@@ -708,7 +708,6 @@ 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();