W3C home > Mailing lists > Public > public-webevents@w3.org > April to June 2011

Re: preventDefault research

From: Matt Brubeck <mbrubeck@mozilla.com>
Date: Mon, 06 Jun 2011 20:00:09 -0700
Message-ID: <4DED9439.4000703@mozilla.com>
To: Andrew Grieve <agrieve@google.com>
CC: "public-webevents@w3.org" <public-webevents@w3.org>
On 04/26/2011 06:58 PM, Andrew Grieve wrote:
> I'm fairly sure that preventDefault only prevents scrolling on android
> if you call it on the very first touchmove event.
> On iOS, if you call preventDefault on a single touchmove event at any
> point before scroll mode is entered then scrolling will be disabled for
> the duration of the touch (not necessarily the very first touchmove).

We found these details important for interoperability when implementing 
preventDefault on touch events in mobile Firefox.  I added text to 
specify some "SHOULD"-level suggestions for preventDefault behavior on 
touchstart and touchmove:

http://dvcs.w3.org/hg/webevents/rev/80bd73a2e5b2
Received on Tuesday, 7 June 2011 03:00:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 7 June 2011 03:00:37 GMT