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

Re: [pointerevents] Clarify what touch-action allows with rotated scrollable elements

From: Mustaq Ahmed via GitHub <sysbot+gh@w3.org>
Date: Thu, 27 Apr 2017 16:06:38 +0000
To: public-pointer-events@w3.org
Message-ID: <issue_comment.created-297761073-1493309197-sysbot+gh@w3.org>
> Can someone verify what Edge and FF do in the case of a rotated DIV? Does touch-action operate in client or the element-local co-ordinate space?

For all of Edge, FF and Chrome, a rotated div filters touch-actions the same way as a rotated frame. [Here](http://output.jsbin.com/vodiyas/) is a repro that has "pan-y" in a rotated div.

**Edge**: Works perfectly: only horizontal (along screen x-axis) swipes can scroll the div along local y-axis direction.
**FF**: Semi perfect. Horizontal (along screen x) swipes scroll the div along local y-axis. But some of the vertical (along screen y) swipes also seem to scroll the div along local y-axis, perpendicular to the swipe! Attention @staktrace.
**Chrome**: Bad, ignores the rotation.

GitHub Notification of comment by mustaqahmed
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/115#issuecomment-297761073 using your GitHub account
Received on Thursday, 27 April 2017 16:06:50 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 27 April 2017 16:06:50 UTC