react-native-datepicker icon indicating copy to clipboard operation
react-native-datepicker copied to clipboard

Cannot adjust placeholder textcolor to a near transparent color

Open aravi365 opened this issue 5 years ago • 3 comments

Issue

Tried to change the placeholder text color with an 'rgba(161, 161, 161, 0.3)' value, but the color appeared different on android and ios. In case of iOS, i got the expected result.

Expected Behavior

Simulator Screen Shot - iPhone 6 - 2019-04-26 at 12 33 13 iOS Screenshot_1556262187 Android

Code

customStyles={{
                 dateInput: {
                   borderWidth: 0,
                   alignItems: "flex-start"
                 },
                 placeholderText: {
                   fontSize: 34,
                   color:'rgba(161, 161, 161, 0.3)' ,
                   paddingLeft: 10,
                   paddingTop: 10,
                   width: width
                 },
                 dateText: {
                   fontSize: 18,
                   paddingLeft: 10,
                   paddingTop: 10,
                   width: width
                 },
                 dateTouchBody: { borderWidth: 0, fontSize: 18 }
               }}```

### Environment

1. "react-native": "0.57.7",
2. "react-native-datepicker": "^1.7.2",

aravi365 avatar Apr 26 '19 07:04 aravi365

Our component does not handle this style.

kelement avatar May 24 '19 08:05 kelement

@kelement how can I change the date text size and color, will you please tell?

AmitPandya007 avatar Jul 19 '19 07:07 AmitPandya007

did you find solution for this?

hiteshkamani avatar Aug 11 '20 14:08 hiteshkamani