Why is 'touch-events: pan' not a value?
Opened this issue · 2 comments
fantasai commented
Seems like 'touch-events: pan-x pan-y' is possible, why isn't there a 'touch-events: pan' keyword? Is this combination discouraged for some reason?
mustaqahmed commented
If my guess is correct that you meant touch-action
here (instead of touch-events
), we have touch-action:manipulation
to cover panning in all directions.
(In Chrome, touch-action:manipulation
covers a bit more than that but it is beyond the scope of this spec!)
patrickhlauke commented
however, touch-action:manipulation
also allows pinch-to-zoom, while touch-action:pan-x pan-y
(or a potential touch-action:pan
) does only allow the browser to do pure panning/scrolling.