[Webkit-unassigned] [Bug 133112] Touch-action css property support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 20 18:49:49 PDT 2014


--- Comment #11 from Benjamin Poulain <benjamin at webkit.org>  2014-05-20 18:50:11 PST ---
(In reply to comment #10)
> >> pan-x/pan-y work well for many common "native" experiences like carousel photo galleries, swiping pagination, etc.
> >>      * The working group has discussed additional values like pan-positive-y/pan-negative-y. It's not in the spec or implementations, but we'd love to have you participate in the WG discussion and discuss use cases we should be solving. I'm thinking we'll tackle this in Pointer Events V2, which is on the near horizon.
> >On OS X or iOS, we fully support scrollview-inside-scrollview.
> Not sure I follow how that relates to touch-action. IE (and Chrome/Firefox I think) supports this too. Can you explain further?

Let's say we would want to change all the carousels to touchAction instead of gesture recognition from touch events.

Let's say the carousel start in the middle.
-In that first state, only pan-y is enabled, pan-x is handled through the touch events.
-You pan to the right edge.
-You rubberband or stop at the edge, but either way, the last position is maxX.
-Now we have two cases:
    -If you continue panning to the right, the superview should take the gesture and track it from there.
    -If you start panning in the other direction, then view takes the touch events and tracks the input.

If you can specify the direction, you change change the touch-action based on the internal state of the carousel.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list