lawnstarter / react-native-picker-select

🔽 A Picker component for React Native which emulates the native <select> interfaces for iOS and Android
https://npmjs.com/package/react-native-picker-select
MIT License
1.74k stars 499 forks source link

random grey color for many items without selecting them #433

Closed AhmedSamir74 closed 1 year ago

AhmedSamir74 commented 3 years ago

When the items number increases it is showing wired behaviour. There are some items color changed to be gray without reason. also when select it then select another item the color back to black <RNPickerSelect placeholder={{ label:Select City, value: null, color: "#9EA0A4", }} onValueChange={(value) => props.onChange(value)} items={props.data || []} style={{ viewContainer: { flex: 1, }, inputAndroid: { ...styles.textField, backgroundColor: "transparent", color: "#000", textAlign: "left", }, inputIOS: { backgroundColor: "transparent", color: "#000", textAlign: "left", }, placeholder: { color: "grey", }, }} /> Screen Shot 2021-04-15 at 2 23 49 PM

iyasirkhan commented 3 years ago

Also facing same issue, any update?

iyasirkhan commented 3 years ago

Set the placeholder value it will fix this issue but its not the proper solution it must be fixed in library

himrocks33 commented 3 years ago

@iyasirkhan What do you mean by set the placeholder value. I have this same issue I have a placeholder set. But down the list of items I still get this weird grey behavior.

xdarkleonx commented 3 years ago

Same issue, when items more than 11. Every eleventh item is gray.

basitmir commented 3 years ago

Any solution regarding this @AhmedSamir74 @xdarkleonx @iyasirkhan

xdarkleonx commented 3 years ago

Любое решение относительно этого @ AhmedSamir74 @xdarkleonx @iyasirkhan

just remove placeholder color and wait while lawnstarter will fix it

idnfata commented 1 year ago

the solution is here https://github.com/lawnstarter/react-native-picker-select/issues/169#issuecomment-484954440