react-native-picker / picker

Picker is a cross-platform UI component for selecting an item from a list of options.
MIT License
1.45k stars 273 forks source link

Border styles is not working #552

Closed JpMayor1 closed 4 months ago

JpMayor1 commented 4 months ago

I am styling Picker and the border is not working, <Picker style={{ width: "100%", borderWidth: 1, borderColor: Colors.dark, }} selectedValue={newGender} onValueChange={(itemValue) => setNewGender(itemValue) }

{genderOptions.map( (genderOption, index) => ( <Picker.Item key={index} label={genderOption} value={genderOption} style={styles.text} /> ) )}

TraFost commented 4 days ago

do u find any solution?