You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I setBackground: transParent in DrawerContent ( ).
But It can't see through. it only opacity
In contentComponent: return ( <View style={[styles.container]}> </View> )
container style:
container: {
flex: 1,
backgroundColor: 'rgba(0, 0, 0,0.2)',
borderWidth: 2,
borderColor: 'red',
}.
I try replace backgroundColor:'transparent' but it same.
Anyone help me make it transparent & see through( with contentComponent={DrawerContent} )
The text was updated successfully, but these errors were encountered:
@Donhv That might not be related to react-native-router-flux, but to react-native-drawer-layout-polyfill - the DrawerView component used in react-navigation.
It seems the DrawerView has a drawerBackgroundColor that you might try use to set the transparency. I haven't tried, but let me know if that does not work.
I setBackground: transParent in DrawerContent ( ).
But It can't see through. it only opacity
In contentComponent:
return ( <View style={[styles.container]}> </View> )
container style:
container: {
flex: 1,
backgroundColor: 'rgba(0, 0, 0,0.2)',
borderWidth: 2,
borderColor: 'red',
}.
I try replace backgroundColor:'transparent' but it same.
Anyone help me make it transparent & see through( with contentComponent={DrawerContent} )
The text was updated successfully, but these errors were encountered: