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

Getting issues on touch screens with v1.0.3 #429

Open
bitf12m033 opened this issue Jan 21, 2021 · 1 comment
Open

Getting issues on touch screens with v1.0.3 #429

bitf12m033 opened this issue Jan 21, 2021 · 1 comment

Comments

@bitf12m033
Copy link

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

@SebZar
Copy link

SebZar commented Sep 29, 2022

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.

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

2 participants