[RN] Support landscape and portrait orientations in BottomSheet
One has to be explicit on iOS, otherwise it seems to be locked to portrait only.
This commit is contained in:
parent
1ba564f49c
commit
c6f99f3dda
|
@ -53,6 +53,10 @@ export default class BottomSheet extends Component<Props> {
|
|||
animationType = { 'slide' }
|
||||
key = 'modal'
|
||||
onRequestClose = { this._onCancel }
|
||||
supportedOrientations = { [
|
||||
'landscape',
|
||||
'portrait'
|
||||
] }
|
||||
transparent = { true }
|
||||
visible = { true }>
|
||||
<View style = { styles.container }>
|
||||
|
|
Loading…
Reference in New Issue