Please provide the following:
- SDK Version: expo v39.0.0
- Platforms(Android/iOS/web/all): iOS
does not work when Modal from ‘react-native’ is visible.
The app was in landscape, but when Modal opens, the app instantly turn back to portrait.
I see same issue. If my app is in landscape and I tap on a modal the entire app switches to portrait and modal opens.
You should use the
supportedOrientations prop - Modal · React Native
react-native-elements add this:
see here for more details.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.