Do not dismiss keyboard when app is brought to the foreground (#7143)

This commit is contained in:
Elias Nahum 2023-02-16 13:58:26 +02:00 committed by GitHub
parent 4416a61a77
commit a78e6ff673
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,12 +134,8 @@ export default function PostInput({
return {...style.input, maxHeight};
}, [maxHeight, style.input]);
const blur = () => {
inputRef.current?.blur();
};
const handleAndroidKeyboard = () => {
blur();
onBlur();
};
const onBlur = useCallback(() => {