Answer the question
In order to leave comments, you need to log in
How to prevent tabs from being raised when the keyboard appears?
Hello workers. Understanding React Native ran into a problem when the keyboard appeared. At first I made a header and tabs through flex, but when the keyboard appeared, they shrank, I tried to wrap them in a KeyboardAvoidingView, but something didn’t work out for me. Then I made a fixed height, the compression problem was solved, but the problem with raising the video tabs remained . How to prevent this behavior?
Answer the question
In order to leave comments, you need to log in
Good afternoon. Had the same problem. I decided to use the react-native-android-keyboard-adjust package.
imported
and in componentDidMout put
if (Platform.OS === 'android') {
AndroidKeyboardAdjust.setAdjustPan();
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question