Re: preventDefault research

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 UTC