소스 검색

Merge pull request #2976 from saghul/bottom-sheet-orientation

[RN] Support landscape and portrait orientations in BottomSheet
master
Zoltan Bettenbuk 7 년 전
부모
커밋
5fd0f95a89
No account linked to committer's email address
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4
    0
      react/features/base/dialog/components/BottomSheet.native.js

+ 4
- 0
react/features/base/dialog/components/BottomSheet.native.js 파일 보기

@@ -53,6 +53,10 @@ export default class BottomSheet extends Component<Props> {
53 53
                 animationType = { 'slide' }
54 54
                 key = 'modal'
55 55
                 onRequestClose = { this._onCancel }
56
+                supportedOrientations = { [
57
+                    'landscape',
58
+                    'portrait'
59
+                ] }
56 60
                 transparent = { true }
57 61
                 visible = { true }>
58 62
                 <View style = { styles.container }>

Loading…
취소
저장