W3C home > Mailing lists > Public > public-pointer-events@w3.org > April to June 2017

Re: [pointerevents] Enable direct pen and touch to have different touch-action behavior

From: Scott González via GitHub <sysbot+gh@w3.org>
Date: Fri, 05 May 2017 19:03:17 +0000
To: public-pointer-events@w3.org
Message-ID: <issue_comment.created-299549516-1494010996-sysbot+gh@w3.org>
Have you considered extending `touch-action` to allow values based on pointer type?

Perhaps something similar to `linear-gradient`:

```css
touch-action: "auto", some-other-keyword("none", "pen");
```

Not sure what would be a good name for `some-other-keyword`, but the idea is that it would take the `touch-action` value and then a list of pointer types. Some other syntax could be used as well. I'm just a little nervous about adding a type-specific property when Pointer Events is all about type abstraction.

-- 
GitHub Notification of comment by scottgonzalez
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/203#issuecomment-299549516 using your GitHub account
Received on Friday, 5 May 2017 19:03:23 UTC

This archive was generated by hypermail 2.3.1 : Friday, 5 May 2017 19:03:24 UTC