Open asiriPiyajanaka opened 4 years ago
@asiriPiyajanaka Were you able to find the cause in the end?
Please check #365 may be that is your issue
@hizbullah106 @asiriPiyajanaka This occurs in iOS devices in which dark mode is enable.
https://github.com/xgfe/react-native-datepicker/issues/365#issuecomment-532875809
or
use custom styles like below customStyles={{ datePicker: { color: 'black', ios_backgroundColor: 'white', backgroundColor: 'white', }, datePickerCon: { color: 'black', ios_backgroundColor: 'white', backgroundColor: 'white', }, }}
@hizbullah106 @asiriPiyajanaka This occurs in iOS devices in which dark mode is enable.
or
use custom styles like below customStyles={{ datePicker: { color: 'black', ios_backgroundColor: 'white', backgroundColor: 'white', }, datePickerCon: { color: 'black', ios_backgroundColor: 'white', backgroundColor: 'white', }, }}
hi is "ios_backgroundColor" a valid style?
Issue
react-native-datepicker not showing in current date and past dates from current day on some iOS devices. Totally working on android and also working on some iOS devices.
Expected Behavior
To work on all iOS devices. Like this -
Code
Environment
react-native -v
: 0.60.5node -v
: v12.14.1npm -v
: 6.13.4yarn --version
:target platform
: Android | iOSoperating system
: macOS