sohobloo / react-native-modal-dropdown

A react-native dropdown/picker/selector component for both Android & iOS.
MIT License
1.19k stars 477 forks source link

Passing props to the rendered FlatList instance #262

Open Terceramayor opened 3 years ago

Terceramayor commented 3 years ago

It used to be possible to pass props to the rendered FlatList instance through the prop "dropdownListProps". For what I can see, there's no possibility to do such thing with the current library. Could this be amended? I need this feature so that I can programmatically scroll to a specific position, using the FlatList method initialScrollIndex , when the drop down FlatList is rendered.

Thanks for the support and great library!