react-native-alphabetlistview
react-native-alphabetlistview copied to clipboard
Alphabet list cut in case of long alphabet
In case of long alphabet (i.e. long array in data
prop.) and device small screen resolution the SectionList
is cut at the bottom and there is no possibility to scroll it:
So it should be wrapped by ScrollView for example and also maybe with additional logic, for example do not wrap in ScrollView in case react-native-alphabetlistview
height less then the screen or container height where the component was placed.
For all who need simplest and fastest solution (but not very elegant) for now is to wrap {sections}
to ScrollView
here:
https://github.com/i6mi6/react-native-alphabetlistview/blob/master/components/SectionList.js#L147