icheck icon indicating copy to clipboard operation
icheck copied to clipboard

Getting issues on touch screens with v1.0.3

Open bitf12m033 opened this issue 4 years ago • 1 comments

I was using v1.0.2 and getting issues with touch screen , however I was able t fixed it using the touchend event by adding with IfClicked event. However , after upgraded to v1.0.3 it is not working with on touch screens again even I have applied touchend event . Please help

bitf12m033 avatar Jan 21 '21 11:01 bitf12m033

Hi, try the following:

Download the not minimized version.

Change the following line: _mobile = /ip(hone|od|ad)|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent) || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1);

to

_mobile = /ip(hone|od|ad)|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent) || (navigator.platform === 'MacIntel' && navigator.maxTouchPoints > 1) || (/windows/i.test(navigator.userAgent) && navigator.maxTouchPoints > 1);

Works for me on a Windows device with a iiyama touch screen.

SebZar avatar Sep 29 '22 10:09 SebZar