Skip to content

Alphabet list cut in case of long alphabet #68

@valeriik

Description

@valeriik

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:
Screen Shot 2019-08-20 at 5 46 35 PM

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.
Screen Shot 2019-08-20 at 5 47 17 PM

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

Screen Shot 2019-08-20 at 5 58 59 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions