react-native-modal-picker
react-native-modal-picker copied to clipboard
Support multiple orientations
Measuring the window at load time doesn't work when the orientation changes and width becomes height. Luckily RN now supports percentage based dimensions so we mostly don't have to use measurement at all.
Currently the Modal component isn't working as expected even with this changes. That is due to a missing option "supportedOrientations" in the Modal component, as seen here