react-native-picker-select
react-native-picker-select copied to clipboard
Placeholder fontFamily go back to default font when picking selection and later pressing placeholder again
Describe the bug
Placeholder fontFamily go back to default font when picking a selection and later pressing placeholder again.
To Reproduce
Steps to reproduce the behavior:
- Click on selector
- Pick a selection
- Pick placeholder selection
Expected behavior
fontFamily remains the same (as mention in style object) after changing selections.
Screenshots

Additional details
- Device: iPhone 8 Plus
- OS: IOS13.7
- react-native-picker-select version: ^8.0.1
- react-native version: 0.63.1
Reproduction and/or code sample
RNPickerSelect
` <RNPickerSelect doneText={'סיים'} value={categorySelect} placeholder={{ label: 'סנן לפי איזור, value: 0, color: colors.PICKERS_RED, }} items={list.map((item) => ({ label: item.name, value: item.id, }))} onValueChange={(value) => { this.onCheckChanged(value); }} style={{inputIOS: { alignItems: 'flex-end', justifyContent: 'space-between',
height: height * 0.04,
width: width * 0.36,
fontSize: width * 0.045,
fontFamily: "Rubik-Bold",
textAlign: 'right',
paddingLeft: width * 0.02,
backgroundColor: colors.white
},
placeholder: {
fontFamily: "Rubik-Bold", // expected fontFamily
color: colors.PICKERS_RED
},}}
Icon={() => <Image source={require('../../../assets/arrow_dropdown.png')} style={styles.downArrowIcon} />}
useNativeAndroidPickerStyle={false}
/>`