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

supportTouch on Chrome #675

Open
PatrickAtM4 opened this issue Jan 20, 2025 · 0 comments
Open

supportTouch on Chrome #675

PatrickAtM4 opened this issue Jan 20, 2025 · 0 comments

Comments

@PatrickAtM4
Copy link

I have been having an issue on Android/Chrome with drag. Tracked it down to supportsTouch. This fixed it for me:

Original line:

supportsTouch = "createTouch" in glob.doc,

Replaced with

supportsTouch = "ontouchstart" in document.documentElement,

Now works in Chrome and continues to work on iOS/Safari.

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

1 participant