scroll-delay and/or impact of changing touch-action on the current pointer/touch

When we wanted to add the ability to drag and drop Items from a scrollable 
list [1] using native Pointer Events when available or synthetic events 
[2], but we faced to this limitation:

Let's take a scrollable list where "touch-action:auto" and "overflow: 
auto" are enforced to take advantage of native scroll.

When the user touches the screen and makes a long press, we want the 
application takes control in order to:
- disable the scroll for the current pointer, 
- allow the user to drag the list item that is beneath its finger to move 
it to another place in the list.

Of course we can dynamically change the value of "touch-action", but the 
issue is that the new value of touch-action is applied only for subsequent 
pointer/touch Ids.

For now, we manage to implement this feature only with Touch Events 
without relying on the touch-action CSS property (so we can control when 
we call preventDefault on touchmove).

I don't know how/if this could be solved by the "scroll-delay" CSS 
property, but the first thing we thought is that it would be great if 
changing the value of "touch-action"  on an element could change the 
behavior of the current pointer. Does that seem feasible? Is this 
something that could be considered ?

[1] https://github.com/ibm-js/deliteful/issues/232
[2] https://github.com/ibm-js/dpointer

Sebastien Pereira
IBM JS Team
http://ibm-js.github.io/blog
https://github.com/dojo
---
33-1-5875-3479  (803479)
Sauf indication contraire ci-dessus:/ Unless stated otherwise above:
Compagnie IBM France
Siège Social : 17 avenue de l'Europe, 92275 Bois-Colombes Cedex
RCS Nanterre 552 118 465
Forme Sociale : S.A.S.
Capital Social : 655.732.332,20 ?
SIREN/SIRET : 552 118 465 03644 - Code NAF 6202A 

Received on Monday, 8 September 2014 13:55:44 UTC