fateh999 / react-native-paper-dropdown

Dropdown using react native paper TextInput and Menu
MIT License
130 stars 74 forks source link

dropDownItemTextStyle problem on IOS #23

Closed yafetHamouda closed 3 years ago

yafetHamouda commented 3 years ago

dropDownItemTextStyle and dropDownItemSelectedTextStyle props are working fine on android but not on IOS.

fateh999 commented 3 years ago

Can you share screenshot of the issue and sample code

yafetHamouda commented 3 years ago

<DropDown visible={visible} showDropDown={() => setVisible(true)} onDismiss={() => setVisible(false)} value={value || dropdownAssets[0]?.value} setValue={setValue} list={dropdownAssets} inputProps={{ right: <TextInput.Icon name={'menu-down'} color={Colors.grey400} />, style: [styles.dropdownInput, {fontSize: windowWidth > 380 ? 12 : 11}], underlineColor: 'transparent', }} theme={{ ...DefaultTheme, colors: { ...DefaultTheme.colors, text: PALETTE.darkBlue, }, }} activeColor={PALETTE.darkBlue} dropDownItemTextStyle={{color: 'red'}} dropDownItemSelectedTextStyle={{color: 'red'}} />

Screen Shot 2021-07-14 at 6 59 12 PM

dropDownItemTextStyle and dropDownItemSelectedTextStyle not taking effect.

fateh999 commented 3 years ago

Ok will test with your code sample

fateh999 commented 3 years ago

Fixed