W3C home > Mailing lists > Public > public-pointer-events@w3.org > January to March 2016

[pointerevents] touch-action - incorrect values in note for pull-to-refresh?

From: Patrick H. Lauke via GitHub <sysbot+gh@w3.org>
Date: Sun, 13 Mar 2016 08:41:52 +0000
To: public-pointer-events@w3.org
Message-ID: <issues.opened-140465062-1457858511-sysbot+gh@w3.org>
patrickhlauke has just created a new issue for 
https://github.com/w3c/pointerevents:

== touch-action - incorrect values in note for pull-to-refresh? ==
Currently in "9.1 The touch-action CSS property" we have

> For example, to implement a simple pull-to-refresh effect the 
document's `touch-action` can be set to `pan-x pan-down` whenever the 
scroll position is 0 and `pan-x pan-y` otherwise. This allows pointer 
event handlers to define the behavior for upward scrolls that start 
from the top of the document.

Shouldn't the first value (for scroll position 0) be `pan-x pan-up`, 
as you'd want to handle the down movement yourself for the pull to 
refresh?

Please view or discuss this issue at 
https://github.com/w3c/pointerevents/issues/41 using your GitHub 
account
Received on Sunday, 13 March 2016 08:41:54 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 13 March 2016 08:41:55 UTC