Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

135
Views
Textipunt on the bottom doesn't avoid keyboard on iOS but on android does

I plan having that textinput on the bottom, and i want it to avoid the keyboard. On Android it avoids, but on iOS it doesn't, even though I'm using the <KeyboardAvoidingView>.

I'm placing it on the bottom with absolute position.
By the way, I'm using expo-cli

This is my return

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>
)

This is my stylesheet

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",
}

Thanks in advance.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Yes, you can not solve it with the above code. You always will see the covered issue by the keyboard. it depends on the layout. If you are going to solve this problem, please feel free to create a google meeting(reactnativeseniordev@gmail.com). I will help your problem via a calling.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!