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

Framework: Tablet detection 'false' positives #2421

Closed
johnHackworth opened this issue Jan 14, 2016 · 1 comment
Closed

Framework: Tablet detection 'false' positives #2421

johnHackworth opened this issue Jan 14, 2016 · 1 comment

Comments

@johnHackworth
Copy link
Contributor

Right now, we are using https://github.com/Automattic/wp-calypso/tree/master/client/lib/touch-detect in several places around the codebase to check if the user is using a table, and change the behaviour of some features to reflect that.

The problem comes when you try to use calypso with a laptop with a touch screen. Since it has all the touch-related events, we are assuming that it's a tablet. We should have a better way of detecting when a device is touch-only or it's a mixed one, since there are plenty of laptops on the market that already sport a touch screen.

@johnHackworth
Copy link
Contributor Author

Duplicated: #1479

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant