Open blasco opened 4 years ago
Experiencing the same issue. Seems to be specific to IOS 13+ as it wasn't occurring on a device with 12. Unlike @blasco it's happening on the simulator too for me. Only happens when selecting a year going down, e.g. 2020 to 2019 skips to 2018. Doesn't happen the other way.
I think you are right, it was happening in the simulator too. Last time I tried I didn't scroll to the bottom so thought it was working.
I add browser-default class in datepicker to avoid this problem for now.
onDraw(){
$('.datepicker-select').addClass('browser-default');
}
and detect which platform are using if you running you app under multi devices
hoping it helps you :D
The datepicker works perfectly fin in android devices, chrome, safari and even the iphone X simulator... Nevertheless, when I try on a real iPhone device this i what happens:
The dropdown menu lets you select the year, but when you click on a yaer, a nearby year is selected instead of the clicked year.
Your Environment