Keyboard dismisses while typing TextInput in nested functional component React Native
问题 I have this strange issue, keyboard keeps closing while typing when TextInput is placed inside Child Functional Component. This issue does not exist if TextInput is placed directly under Parent Component. Here is my code const SignInScreenC = props => { // define Hook states here const [email, setEmail] = useState(""); const [password, setPassword] = useState(""); const [isEmailEmpty,setIsEmailEmpty] = useState(false); const [isEmailValid,setIsEmailValid] = useState(true); const