A
A
Artem Chernyavsky2016-05-14 19:13:52
JavaScript
Artem Chernyavsky, 2016-05-14 19:13:52

How to prevent scroll when calling Datepicker?

Good evening.
I can't fix the bug... Can you help?)
pie.mooobs.com/basket
When focusing on the "Date" field, the jq ui datepicker calendar appears. In safari on iphone, when you call the calendar, the site scrolls down the form.
How can this be prevented?

I hung a function on the field to prohibit calling the keyboard. But it's not that..

$(".date").focus(function () {
  $(this).blur();
});

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question