Skip to content

Only portrait orientation is supported on iOS #12

@DaleWebb

Description

@DaleWebb

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions