Re: [pointerevents] Imperative API to request suppression of panning and zooming

> I was actually thinking of this as being less constrained than @RByers suggests. If I understand correctly, Rick suggested that the promise resolves true iff pan/zoom have not been active since the touch gesture began. What I had in mind was ... iff pan/zoom is not currently in progress. That seems like it would be useful for more gestures than just long-press (which was the example use case we had been discussing).

What do you mean by "not currently in progress"?  You mean maybe the user started moving their finger, then held still for awhile?  I don't think there would really be a well-defined concept there - once a pan or zoom has started at all, there's likely to always be a little bit of finger movement that continues to affect the position (even if the user thinks they're holding their finger still).  Of course we could have an API to asynchronously interrupt an active pan/zoom, but I think that's a different story with different use cases and downsides.

-- 
GitHub Notification of comment by RByers
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/216#issuecomment-328202990 using your GitHub account

Received on Friday, 8 September 2017 20:14:50 UTC