1const inputRef = useRef(null)
2
3In onSubmitEditing prop, include this:
4
5setTimeout(() => inputRef.current.focus(), 250);
6
7Ex:
8
9const onEnterKeyPressed = () => {
10 ...
11 setTimeout(() => inputRef.current.focus(), 100);
12 ...
13}
14<TextInput
15 ...
16 onSubmitEditing={onEnterKeyPress}
17 ...
18/>
19
20