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

Date selection on IOS Safari not working #218

Open
mattiLeBlanc opened this issue Oct 3, 2017 · 1 comment
Open

Date selection on IOS Safari not working #218

mattiLeBlanc opened this issue Oct 3, 2017 · 1 comment

Comments

@mattiLeBlanc
Copy link

mattiLeBlanc commented Oct 3, 2017

I am having this issue:

datepicker-ios-issue

When I try to select a date on Safari, IOS, the calendar opens, but when I click to select a date it closes without applying the selection. When I select the textbox again, I get a month view, and again the selection is not actually happening.

The markup looks as follows:

  <input class="form-control.date"
            type="text"
            name="startDate"
            placeholder="DD/MM/YYYY"
            ng-model="$ctrl.startDate"
            ng-model-options="{ updateOn: 'blur' }"
            moment-picker="$ctrl.startDate"
            format="DD/MM/YYYY">

Any idea what is going on?

When I look at the datepicker on the example page, those work fine on my phone.
I could it be related to any responsive design or view port settings?

@mattiLeBlanc
Copy link
Author

Update: I tracked the issue done to using Fastclick. Fastclick and Angular-moment-picker cause issues on IOS Safari.
I have disabled Fastclick for now since I don't have time to debug the sourcecode of Angular-moment-picker.

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

1 participant