- From: Patrick H. Lauke via GitHub <sysbot+gh@w3.org>
- Date: Tue, 27 Apr 2021 23:00:25 +0000
- To: public-pointer-events@w3.org
I think part as part of this, [4.1.3.1 Attributes and Default Actions](https://w3c.github.io/pointerevents/#attributes-and-default-actions) should clarify right away that viewport manipulations (panning/zooming) do *not* count as default action - already foreshadowing what is said at the start of [8. Declaring candidate regions for default touch behaviors](https://w3c.github.io/pointerevents/#declaring-candidate-regions-for-default-touch-behaviors). That sentence currently in 8 also could do with some tweaking. > For touch input, the default action of any and all pointer events MUST NOT be a manipulation of the viewport (e.g. panning or zooming). sounds odd. It's not that panning/zooming MUST NOT be a default action/something the browser does. but rather that for the purpose of pointer events (and particularly with respect to cancelability), panning/zooming viewport manipulation is not considered/counted as a default action, so it can't be canceled, which is *why* authors need to use `touch-action` instead if they want to prevent or otherwise influence this viewport manipulation behaviour as a result of a direct manipulation interaction on the part of the user. and then yes, replace that "default behaviour" in the sentence in 8.1 with "viewport manipulation (panning/zooming)" sounds about right, and should hopefully reduce confusion. I'll mull this over some more and make another PR. -- GitHub Notification of comment by patrickhlauke Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/368#issuecomment-828002207 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 27 April 2021 23:00:27 UTC