react-native-picker-select icon indicating copy to clipboard operation
react-native-picker-select copied to clipboard

random grey color for many items without selecting them

Open AhmedSamir74 opened this issue 4 years ago • 6 comments

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

AhmedSamir74 avatar Apr 15 '21 12:04 AhmedSamir74

Also facing same issue, any update?

iyasirkhan avatar Jul 30 '21 14:07 iyasirkhan

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

iyasirkhan avatar Jul 30 '21 15:07 iyasirkhan

@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.

himrocks33 avatar Aug 03 '21 16:08 himrocks33

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

xdarkleonx avatar Aug 26 '21 16:08 xdarkleonx

Any solution regarding this @AhmedSamir74 @xdarkleonx @iyasirkhan

basitmir avatar Aug 27 '21 07:08 basitmir

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

just remove placeholder color and wait while lawnstarter will fix it

xdarkleonx avatar Aug 27 '21 14:08 xdarkleonx

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

idnfata avatar Dec 29 '22 22:12 idnfata