react-native-element-dropdown
react-native-element-dropdown copied to clipboard
Fix: scrollToIndex out of range: item length 0 but minimum is 1
Error: scrollToIndex out of range: item length 0 but minimum is 1
How to reproduce?
- Have data of enough length such that on search, the list should scroll
- Select an item that is not rendered initially when the search is clicked, we have to persist this data for the next re-render
- On next re-render, open search, and enter string which does not exist in list