Changes between Version 3 and Version 4 of Ticket #29906, comment 51
- Timestamp:
- 06/16/2015 02:57:05 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29906, comment 51
v3 v4 5 5 Detecting touch events is all well and fine in the mobile context, but we're at a loss to detect a device that runs a standard desktop OS in combination with touch capabilities (think MS Surface, for example). This is okay in most contexts, but such a device with no other pointing device will basically be out of luck... And there's nothing we can seem to do about it via capability detection. 6 6 7 Modernizr, for example, used to document their touch detection as detecting touch (screens),but they have since moved to clarifying that they also only detect touch events (countless discussions online documenting the same reason as us as to why) : see comments at https://github.com/Modernizr/Modernizr/blob/master/feature-detects/touchevents.js#L197 Modernizr, for example, used to document their touch detection as detecting touch (screens),but they have since moved to clarifying that they also only detect touch events (countless discussions online documenting the same reason as us as to why), and more: see comments at https://github.com/Modernizr/Modernizr/blob/master/feature-detects/touchevents.js#L19 8 8 9 9 For the record, we also can't complement touch events detection with other parameters when the former fails, since we can't even deduct the presence of a touch screen through the user-agent string, or the like...