react-native-select
react-native-select copied to clipboard
scrollToIndex out of range: requested index 208 is out of 0 to 28
Describe the bug Crashes after a second search on a searchable multi-select modal.
To Reproduce Steps to reproduce the behavior:
- Create a multi-searchable select option
- Search for a single item and select
- Close the modal.
- Open and search for another item in the list. Error occurs
Expected behavior Subsequent search should work fine and show found items based on input or no available options if none.
Screenshots
https://github.com/azeezat/react-native-select/assets/38820504/db1a8707-db1b-49a7-ac69-e0b740ac394d
Smartphone (please complete the following information):
- Device: iPhone 12 pro max and Xiaomi Redmi Note 10 5G
- OS: iOS and Android
- OS Version: iOS version 17.0.1 and Android Version 13
- Library Version: 1.3.2
@brvhprince. Thanks for reporting this issue. Please include the value you passed into your options array.
#49