Do not dismiss keyboard when app is brought to the foreground (#7143)
This commit is contained in:
parent
4416a61a77
commit
a78e6ff673
1 changed files with 1 additions and 5 deletions
|
|
@ -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(() => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue