Ask about the problem of being obscured by the keyboard after focusing on TextInput in react native Android 5 and 7.

1. A novice RN developer encounters this problem. The specific scenario is as follows: I get an array from the backend and generate a corresponding number of TextInput according to the length of the array for users to enter data and submit. But this number is not fixed, may be many, may be very small, in many cases, when the keyboard pops up will cover a lot of TextInput.
2. I have tried the two components ScrollView and KeyboardAvoidingView, and checked the usage of others to make sure they are all right. By using react-native-keyboard-scroll-view, a better third-party library on git, it also has no effect.
3, at least in Android 5 and 7, at the same time, I found a blog post saying that Android has automatically dealt with this problem, so some people think that it is only ios that has this problem, so most of the demo cases I have found are all about how ios handles this problem.
but I"d like to ask you, does Android really handle it automatically? Or is it just some Android that has this problem?


now the solution is to wrap ScrollView around FlatList , and dynamically calculate the height of FlatList according to the array length obtained by the backend, which can barely achieve the function

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e52082-4d517.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e52082-4d517.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?