Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datepicker doesn't work in iPhone #6476

Open
blasco opened this issue Nov 18, 2019 · 3 comments
Open

Datepicker doesn't work in iPhone #6476

blasco opened this issue Nov 18, 2019 · 3 comments

Comments

@blasco
Copy link

blasco commented Nov 18, 2019

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:

ezgif-4-b8a5e38b5011 (1)

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

  • Version used: 1.0.0-rc.1
  • iPhone X
@aksm
Copy link

aksm commented Nov 25, 2019

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.

@blasco
Copy link
Author

blasco commented Nov 25, 2019

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.

@4lenz1
Copy link

4lenz1 commented Dec 22, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants