drgullin / icheck

Highly customizable checkboxes and radio buttons (jQuery & Zepto)
http://fronteed.com/iCheck
7.39k stars 1.63k forks source link

Checkbox does not work on mobile with Desktop Site mode #435

Open mostafafallah opened 2 years ago

mostafafallah commented 2 years ago

clicking checkbox does not work in chrome on mobile with Desktop Site mode

mostafafallah commented 2 years ago

I tried to show you the issue in this movie https://user-images.githubusercontent.com/1159697/146904888-9cf9acad-99ab-4e58-bf62-9805e24c1ba0.mp4

hhferreira commented 2 years ago

Any workaround for this? We have the same issue using a surface pro 8

Fallsleep commented 1 year ago

findsuch code

if (_mobile) {
  event.stopPropagation();
} else {
  return false;
}

and change both 2 if (_mobile) to if (_mobile) /in|nd/.test(type).

if(_mobile) to if (_mobile) /in|nd/.test(d) in iCheck.min.js 1.0.2 if(G) to if (G) /in|nd/.test(n) in iCheck.min.js 1.0.3

djaldim commented 1 year ago

@Fallsleep , I had the same issue and I follow your tips.

But I did some different: I changed the Regex validation to this:

Regex with issue: /ip(hone|od|ad)|android|blackberry|windows phone|opera mini|silk/

To this: /ip(hone|od|ad)|android|blackberry|windows phone|opera mini|silk|in|nd/

I hope this can help someone :)