You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @gitsad, I can't find out why initialScrollIndex is -1 to start with, haven't checked on source code where this is calculated so I over driven it to stop showing the error. No special use cases, check on how I'm using the module on 1st comment, pretty simple and straight forward usage.
Hi, I'm using
2.1.5
and it throws this error when I open the drop down:initialScrollIndex "-1" is not valid
I've changed this line:
react-native-select-pro/packages/react-native-select-pro/src/components/flat-options-list/flat-options-list.tsx
Line 28 in 6a9ac02
to:
But I don't know yet if there are any side effects, probably there aren't any, let me know if you want me to open a PR
To Reproduce
Steps to reproduce the behavior:
Nothing special, just:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
The text was updated successfully, but these errors were encountered: