HosseinShabani / react-native-modern-datepicker

A customizable calendar, time & month picker for React Native (including Persian Jalaali calendar & locale)
MIT License
578 stars 164 forks source link

time picker not work on release mode #26

Open peyman-hakemi opened 4 years ago

peyman-hakemi commented 4 years ago

time picker almost work in debug but not work on release mode


<DatePicker
isGregorian={false}
options={{
defaultFont: Fonts.type.iranSans,
headerFont: Fonts.type.iranSansBold,
backgroundColor: '#8685ef',
textHeaderColor: '#fefedf',
textDefaultColor: '#fff',
selectedTextColor: '#fff',
mainColor: '#00176c',
textSecondaryColor: '#474554',
borderColor: 'rgba(122, 146, 165, 0.1)'
}}
style={{borderRadius: 10}}
minimumDate={getFormatedDate(new Date(), 'jYYYY/jMM/jDD')}
selected={selectedTime ? selectedTime : null}
mode="time"
onTimeChange={(time) => {
setselectedTime(time);
setTimeVisible(false);
}}
/>

in release Mode numbers don't scroll at all

react native 62

amirbhz86 commented 3 years ago

I have this problem but my timer picker doesnt work on debuging mode too