Troubleshooting
How can I get selected item data?
You should use the onSelect
callback to get the selected item's data
Select
doesn't work inside Modal
from react-native
You need to wrap the code inside the Modal
in a SelectModalProvider
to ensure proper functionality.
...
<Modal>
<SelectModalProvider>
<Select ... />
</SelectModalProvider>
</Modal>
...
Options list position is not correct
- If you are using
react-native-modal
andModal
is wrapped inSelectModalProvider
please check ifModal
has appliedmargin: 0
- Check if you are using
react-native-safe-area-contex
t and, if so, check if you have usedSafeAreaProvider
in your app's root. - If the above points do not resolve the issue, please report it on GitHub.