Open IlanZ93 opened 2 years ago
Describe the bug I use the props : pickerProps={{numberOfLines: 10}}
pickerProps={{numberOfLines: 10}}
But my items are still on 1 line with ellipsis.
To Reproduce Steps to reproduce the behavior:
<RNPickerSelect pickerProps={{numberOfLines: 10}} doneText="Valider" placeholder={{}} items={lstTreeCondPart.map(c => { var info = { label: c.text, value: c.idTreeCondPart, key: c.idTreeCondPart, }; return info; })} value={selectedValue ? selectedValue : defaultValue} onValueChange={itemValue => { if (Platform.OS === 'ios') { setSelectedValue(itemValue); } else { setSelectedValue(itemValue); onValueChange({ idTreeCondPart: itemValue, idGroupCondPart, }); } }} onClose={() => { onValueChange({ idTreeCondPart: selectedValue, idGroupCondPart, }); }} style={{ inputIOS: { ...form.select, }, inputAndroid: { ...form.select, }, iconContainer: { ...form.selectIconContainer, }, }} Icon={() => { return ( <Icon style={{ transform: [{rotate: '270deg'}], }} name="bold-left" size={20} color={SkinColors.typoGrey} /> ); }} />
Expected behavior Items should be on multiple lines
Screenshots
Additional details
Reproduction and/or code sample Code sample is above, i can't give more and its not needed for this issue.
Describe the bug
I use the props :
pickerProps={{numberOfLines: 10}}
But my items are still on 1 line with ellipsis.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Items should be on multiple lines
Screenshots
![image](https://user-images.githubusercontent.com/23208231/177764090-c517b530-872a-465c-9d19-4934c298fbe7.png)
Additional details
Reproduction and/or code sample
Code sample is above, i can't give more and its not needed for this issue.