xgfe / react-native-datepicker

react native datePicker component for both Android and IOS, useing DatePikcerAndroid, TimePickerAndroid and DatePickerIOS
MIT License
2.12k stars 726 forks source link

Not working correctly on device iPhone 11 Pro Max iOS 13.4.1 #415

Closed andrii-trush closed 4 years ago

andrii-trush commented 4 years ago

Issue

If set minDate and maxDate on iPhone 11 Pro Max iOS 13.4.1. Cannot select date less than today and this date are not available in the picker. it works fine on simulator.

If i don't pass min and max date, I'm receiving blank picker.

IMG_75FC457D128F-1

Code

minDate=new Date('1940-01-01')
maxDate=new Date()

Environment

  1. react-native -v: 0.59.9
  2. node -v: 10.15.3
  3. npm -v: 6.13.7
  4. yarn --version:
  5. target platform: iOS
  6. operating system: macOS Catalina latest
andrii-trush commented 4 years ago

Reason - dark mode #365

andrii-trush commented 3 years ago

@topcoder1208 set light theme for app https://stackoverflow.com/questions/56537855/is-it-possible-to-opt-out-of-dark-mode-on-ios-13#answer-56546554