0

I have a TextInput field in my React Native app that's near the bottom of the screen. When I click to type in it, on Android the TextInput moves up out of the way so that you can still see it while you're typing, but on iOS the TextInput doesn't move, so in this case it's obscured behind the keypad.

Is there a way to make the same behaviour on iOS where it moves up out of the way?

gkeenley
  • 6,088
  • 8
  • 54
  • 129

1 Answers1

0

Please wrap your textinput container inside KeyboardAvoidingView, or if you are looking for a better solution you can try KeyboardAwareScrollView, it will surely solve your problem

Imjaad
  • 588
  • 3
  • 12