Browse Source

fix(rn,sidebar) fix not appearing on RTL languages

master
AJ-عجائب البرمجة 4 years ago
parent
commit
8106fb06e4
No account linked to committer's email address

+ 0
- 1
react/features/welcome/components/WelcomePageSideBar.native.js View File

83
         return (
83
         return (
84
             <SlidingView
84
             <SlidingView
85
                 onHide = { this._onHideSideBar }
85
                 onHide = { this._onHideSideBar }
86
-                position = 'left'
87
                 show = { this.props._visible }
86
                 show = { this.props._visible }
88
                 style = { styles.sideBar } >
87
                 style = { styles.sideBar } >
89
                 <Header style = { styles.sideBarHeader }>
88
                 <Header style = { styles.sideBarHeader }>

+ 3
- 2
react/features/welcome/components/styles.js View File

1
 // @flow
1
 // @flow
2
 
2
 
3
-import { StyleSheet } from 'react-native';
3
+import { Dimensions, StyleSheet } from 'react-native';
4
 
4
 
5
 import { BoxModel, ColorPalette } from '../../base/styles';
5
 import { BoxModel, ColorPalette } from '../../base/styles';
6
 
6
 
196
      * Container of the side bar.
196
      * Container of the side bar.
197
      */
197
      */
198
     sideBar: {
198
     sideBar: {
199
-        width: 250
199
+        width: 250,
200
+        height: Dimensions.get('window').height
200
     },
201
     },
201
 
202
 
202
     /**
203
     /**

Loading…
Cancel
Save