-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Current Behaviour
On master and on hooks-1.0.0, with iOS, the modal doesn't rotate with the device if the Info.plist states that the orientation is supported.
Expected Behaviour
When rotating the device to a supported orientation, as defined by Info.plist, then the modal layout should also follow suit.
--
This would require the supportedOrientations prop to be added to the <Modal> component as: supportedOrientations={["portrait", "portrait-upside-down", "landscape"]}.
The supportedOrientations is restricted to what the Info.plist states is allowed.
https://facebook.github.io/react-native/docs/modal#supportedorientations
Metadata
Metadata
Assignees
Labels
No labels