react-native-element-dropdown icon indicating copy to clipboard operation
react-native-element-dropdown copied to clipboard

Fix: scrollToIndex out of range: item length 0 but minimum is 1

Open RajRohitYadav opened this issue 11 months ago • 2 comments

Error: scrollToIndex out of range: item length 0 but minimum is 1

How to reproduce?

  1. Have data of enough length such that on search, the list should scroll
  2. Select an item that is not rendered initially when the search is clicked, we have to persist this data for the next re-render
  3. On next re-render, open search, and enter string which does not exist in list

RajRohitYadav avatar Mar 12 '24 13:03 RajRohitYadav