Sunday, May 19, 2024
 Popular · Latest · Hot · Upcoming
52
rated 0 times [  57] [ 5]  / answers: 1 / hits: 60965  / 9 Years ago, sat, may 30, 2015, 12:00:00

I have a login screen created using react-native.



How can I shift my screen up when the user is typing in the textInput?



Do I listen to the onFocus() event and use css styling to change the style of the view?


More From » reactjs

 Answers
8

In 2017 (RN 0.43) there is special component for this: KeyboardAvoidingView


[#66401] Thursday, May 28, 2015, 9 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mickaylag

Total Points: 333
Total Questions: 108
Total Answers: 93

Location: Solomon Islands
Member since Fri, Oct 8, 2021
3 Years ago
;