Skip to content

Component from the example isn't scrollable on Android #79

Open
@mirco123

Description

@mirco123

The following code works fine under iOS, it also displays correctly on Android but the suggestion list is not scrollable. Btw. this is the example from the official documentation only enhanced by more data and it is not working as expected. Can anyone help?

`import { AutocompleteDropdown } from 'react-native-autocomplete-dropdown';
.
.
.

return (

        <AutocompleteDropdown
            clearOnFocus={false}
            closeOnBlur={true}
            closeOnSubmit={false}
            initialValue={{ id: '2' }} // or just '2'
            onSelectItem={( item ) => item && setSelectedItem( item.id )}
            dataSet={[
                { id: '1', title: 'Alpha' },
                { id: '2', title: 'Beta' },
                { id: '3', title: 'Gamma' },
                { id: '4', title: 'Delta' },
                { id: '5', title: 'Epsilon' },
                { id: '6', title: 'Zeta' },
                { id: '7', title: 'Eta' },
            ]}
        />
</View>);`

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