React Native KeyboardAvoidingView covers last text input

后端 未结 4 986
遥遥无期
遥遥无期 2021-02-01 05:08

I\'m using React Native\'s Keyboard Avoiding View with the behavior set to padding (testing on Android).

I have multiple TextInputs on my screen. When I click the final

4条回答
  •  Happy的楠姐
    2021-02-01 05:44

    react-native-keyboard-aware-scroll-view

    I found it super simple to use and it worked great in both Android and iOS.

    It supports older versions of RN too.

    Initially I tried the KeyboardAvoidingView but on IOS not even

    behavior='position' with keyboardVerticalOffset worked properly.

    They used to overlap some content in a strange way.

    I have:

    RN 0.53.3
    react-native-keyboard-aware-scroll-view 0.6.0
    

    I added a few more details about my use case here:

    https://stackoverflow.com/a/51151496/1979861

提交回复
热议问题