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

fix: ignore maxTouchPoints === 256 #493

Merged
merged 1 commit into from
Dec 30, 2021

Conversation

dw-0
Copy link
Member

@dw-0 dw-0 commented Dec 29, 2021

It can occur, that a browser on Windows 10 reports a maxTouchPoints count of 256, even though it is a desktop system without any touch functionality at all. See also: https://stackoverflow.com/a/67909182

Short codepen snippet to report maxTouchPoints count with an alert gave:
dfgdfg

Signed-off-by: Dominik Willner [email protected]

It can occur, that a browser on Windows 10 reports a maxTouchPoints count of 256, even though the device is a desktop system without any touch functionality at all.
See also: https://stackoverflow.com/a/67909182

Signed-off-by: Dominik Willner <[email protected]>
@meteyou meteyou merged commit bc353a0 into mainsail-crew:develop Dec 30, 2021
@dw-0 dw-0 deleted the fix-istouchdevice branch December 30, 2021 21:25
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

Successfully merging this pull request may close these issues.

2 participants