Planeo tener esa entrada de texto en la parte inferior, y quiero que evite el teclado. En Android evita, pero en iOS no, aunque estoy usando <KeyboardAvoidingView> .
Lo estoy colocando en la parte inferior con posición absoluta.
Por cierto, estoy usando expo-cli
return ( <KeyboardAvoidingView behavior={Platform.OS === "ios" ? "positionx" : false} style={{ backgroundColor: "#fff", bottom: 0, position: "absolute", flex: 1 }} > <SafeAreaView style={styles.commentView}> <TextInput style={styles.commentInput} placeholder='Comentário' /> <TouchableOpacity> <Text style={{ color: "#F5A962" }}>Publicar</Text> </TouchableOpacity> </SafeAreaView> </KeyboardAvoidingView> ) commentInput: { height: 40, width: "80%", borderWidth: 1, borderRadius: 5, borderColor: "black", paddingStart: 10, marginEnd: "3.5%", backgroundColor: "#eee" }, commentView: { flexDirection: "row", alignItems: "center", justifyContent: "center", backgroundColor: "#fff", }Gracias por adelantado.
Sí, no puedes resolverlo con el código anterior. Siempre verá el tema cubierto por el teclado. depende del diseño. Si va a resolver este problema, no dude en crear una reunión de Google (reactnativeseniordev@gmail.com). Ayudaré a su problema a través de una llamada.