List going behind other components
amitbravo opened this issue · 0 comments
amitbravo commented
I tried to wrap it inside a like I tried to use some trick as with react-native-autocomplete-input . did not work either.
<View style={{
flex: 1,
left: 0,
position: 'absolute',
right: 0,
top: 0,
zIndex: 999
}}>
<ReactFlagsSelect
selectedSize={12}
selected={this.state.country_code}
onSelect={code => this.changeCountrycode(code)}
fullWidth={false}
searchable={true}
disabled={false}
showSecondarySelectedLabel={true}
optionsSize={16}
alignOptionsToRight={false}
style={{ zIndex: 999 }}
/>
</View>