fix(chat): release input focus when keyboard closes
This commit is contained in:
@@ -32,6 +32,7 @@ export function ChatInputBar({ disabled = false }: ChatInputBarProps) {
|
||||
useKeyboardHeight({
|
||||
targetRef: textareaRef,
|
||||
active: isFocused,
|
||||
onKeyboardDismiss: () => setIsFocused(false),
|
||||
});
|
||||
|
||||
const handleInputChange = (value: string) => {
|
||||
|
||||
Reference in New Issue
Block a user