ekwonye-richard / react-flags-select

Customizable svg flags select components for React Js
197 stars 121 forks source link

List going behind other components #118

Open amitbravo opened 3 years ago

amitbravo commented 3 years ago

Screenshot 2021-09-18 at 7 33 35 PM 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>