w3c / touch-events

https://w3c.github.io/touch-events/
26 stars 24 forks source link

Expand mouse/click interactions #65

Closed patrickhlauke closed 8 years ago

patrickhlauke commented 8 years ago
patrickhlauke commented 8 years ago

the third bullet addresses #63

RByers commented 8 years ago

Looks good generally though we probably need to relax this slightly to handle long press or other contextmenu scenarios. Obviously we don't want to try to define gesture behavior exactly, just capture the most common developer expectations. For example, note that Chrome on desktop also implements a two-finger tap gesture as a contextmenu accelerator (that doesn't require waiting for the long press timer) but I don't think it's worth mentioning that explicitly.

patrickhlauke commented 8 years ago

would just saying "tap gesture" rather than "activation/tap gesture" be sufficiently vague to cover contextmenu as well (and lax enough for the two-finger tap accelerator gesture due to the "typically" at the start)?

RByers commented 8 years ago

Not in chromium's gesture terminology, no ("tap" and "long press" are entirely different gestures). You could say "single finger stationary gestures" to include them both. Or even just call them out explicitly, eg, "single finger activation gestures (like tap and long press)". I agree "typically" is enough to let us ignore the niche cases like "two finger tap".

patrickhlauke commented 8 years ago

single finger activation gestures (like tap and long press)

liking that...will make a change and force-push result

patrickhlauke commented 8 years ago

done

patrickhlauke commented 8 years ago

@rbyers right on both comments. fixed.

RByers commented 8 years ago

LGTM, thanks!