You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the detection of browser support for touch-event isn't consistent on some desktop browser
On IE11 and Chrome it get set to true while on Firefox it is set to false
Monernizr (https://modernizr.com) use another methods to detect the presents of touch-event and it returns false for all tree browsers:
function() {
var bool;
if (('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch) {
bool = true;
} else {
// include the 'heartz' as a way to have a non matching MQ to help terminate the join
// https://git.io/vznFH
var query = ['@media (', prefixes.join('touch-enabled),('), 'heartz', ')', '{#modernizr{top:9px;position:absolute}}'].join('');
testStyles(query, function(node) {
bool = node.offsetTop === 9;
});
}
return bool;
});
The text was updated successfully, but these errors were encountered:
Not going to take action on this due to the recent work done in the pointerify branch, because worrying about PointerEvents is way more promising than worrying about TouchEvents
It seems that the detection of browser support for touch-event isn't consistent on some desktop browser
On IE11 and Chrome it get set to true while on Firefox it is set to false
Monernizr (https://modernizr.com) use another methods to detect the presents of touch-event and it returns false for all tree browsers:
The text was updated successfully, but these errors were encountered: