Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home for chromium.org
« Groups Home
Message from discussion Touch events supported in Chrome?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Remy Sharp  
View profile  
 More options Mar 28 2010, 12:19 pm
From: Remy Sharp <r...@leftlogic.com>
Date: Sun, 28 Mar 2010 17:19:21 +0100
Local: Sun, Mar 28 2010 12:19 pm
Subject: Touch events supported in Chrome?
I was playing around with a game I've been hacking, and I'm trying to support both mobile and desktop browsers, one thing I do is to detect touch event support - and if it's available, I use touch events instead of click (i.e. mobile).

However... Chrome on the latest dev channel is returning true for touch event support (I've not checked the other versions of Chrome).

Demo: http://jsbin.com/utuyi3/2
Source: http://jsbin.com/utuyi3/2/edit

Is this a bug or is Chrome expecting to /actually/ support touch events?  That said, surely it should be device dependant (I've tested to see if this is an issue in Webkit, and it correctly reports false to touch events - so I assume this is a bug in Chrome?)

Ideas / is this a bug?

Cheers,

Remy Sharp
Left Logic


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.