From c6f99f3ddaee69e7cc94d8f2333b519fafb22160 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 15 May 2018 17:12:40 +0200 Subject: [PATCH] [RN] Support landscape and portrait orientations in BottomSheet One has to be explicit on iOS, otherwise it seems to be locked to portrait only. --- react/features/base/dialog/components/BottomSheet.native.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/react/features/base/dialog/components/BottomSheet.native.js b/react/features/base/dialog/components/BottomSheet.native.js index 4b06fedb6..4f7944b66 100644 --- a/react/features/base/dialog/components/BottomSheet.native.js +++ b/react/features/base/dialog/components/BottomSheet.native.js @@ -53,6 +53,10 @@ export default class BottomSheet extends Component { animationType = { 'slide' } key = 'modal' onRequestClose = { this._onCancel } + supportedOrientations = { [ + 'landscape', + 'portrait' + ] } transparent = { true } visible = { true }>