forked from XiaoMo/ChatGPT-Next-Web
fix: #182 prompt cannot be selected
This commit is contained in:
parent
802ea20ec4
commit
b3fdf3efec
@ -489,7 +489,7 @@ export function Chat(props: {
|
||||
onFocus={() => setAutoScroll(true)}
|
||||
onBlur={() => {
|
||||
setAutoScroll(false);
|
||||
setTimeout(() => setPromptHints([]), 100);
|
||||
setTimeout(() => setPromptHints([]), 500);
|
||||
}}
|
||||
autoFocus={!props?.sideBarShowing}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user