parent
c46219cd6c
commit
4f44afeec4
@ -388,6 +388,12 @@ const Inputbar: FC<Props> = ({ assistant: _assistant, setActiveTopic }) => {
|
|||||||
}
|
}
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
window.addEventListener('focus', () => {
|
||||||
|
textareaRef.current?.focus()
|
||||||
|
})
|
||||||
|
}, [])
|
||||||
|
|
||||||
const textareaRows = window.innerHeight >= 1000 || isBubbleStyle ? 2 : 1
|
const textareaRows = window.innerHeight >= 1000 || isBubbleStyle ? 2 : 1
|
||||||
|
|
||||||
const handleKnowledgeBaseSelect = (base?: KnowledgeBase) => {
|
const handleKnowledgeBaseSelect = (base?: KnowledgeBase) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user