On iPhones and iPads running safari 13.2, when i select the dropdown and try to click on one of the options. It doesnt do anything. It works on all other devices/browsers.
Im implementing in the following manner.
var $customSelectBox = $(".js-macmillan-form").find("select");
$.each($customSelectBox, function () {
var device = navigator.userAgent || navigator.vendor || window.opera;
if (/iPhone|iPod|iPad/.test(device)) {
$(this).selectBoxIt({
native: true,
});
} else {
$(this).selectBoxIt();
}
$(this).on("change", function () {
$(".js-macmillan-form").validate().element($(this));
if ($(this).val() === "") {
$(this).closest(".row").addClass("error");
}
});
});
On iPhones and iPads running safari 13.2, when i select the dropdown and try to click on one of the options. It doesnt do anything. It works on all other devices/browsers.
Im implementing in the following manner.