react-native-reusables
react-native-reusables copied to clipboard
[ BUG ] Select options position incorrect inside Presentation Modal
Describe the bug When using the Select component in a Presentation Modal screen, the SelectContent opens on top of the input field, covering it. In a normal screen it works great.
To Reproduce Steps to reproduce the behavior:
- In
_layout.tsxfile add a Stack.Screen with "modal" presentation - In the created modal Screen follow RNR guide "A Portal Component inside a Presentation Modal"
- Run the app with
npx expo start
Expected behavior The SelectContent should open below the SelectTrigger component without covering the input field itself.
Screenshots
Platform (please complete the following information):
- Type: Device
- OS: iOS
Additional context
I suspect it's something related to the inset, in fact if I try to change the top insite value nothing happens. The only workaround I found is adding a sideOffset