Bug 238543 - If pinch-zoom is disabled with touch-action, then multi finger scrolling should also be disabled
Summary: If pinch-zoom is disabled with touch-action, then multi finger scrolling shou...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: Safari 15
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-03-30 03:03 PDT by amorris
Modified: 2023-10-09 19:27 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description amorris 2022-03-30 03:03:06 PDT
As documented here: https://compat.spec.whatwg.org/#touch-action, "When specified, the pinch-zoom token enables multi-finger panning and zooming of the page.". And this implies that if pinch-zoom is not specified, then multi finger gestures should NOT pan the page. However, on Safari it appears they do.

Steps to reproduce:
1. Go to https://huijing.github.io/touch-action/ and look at the element with touch-action: pan-x (this is also relevant to touch-action: pan-y or touch-action: pan-x pan-y, though that example page doesn't have that latter example)
2. With two fingers, attempt to pan the element

Expected: No panning occurs
Action: Panning happens

For comparison, on Chrome on Android, multi finger panning is blocked when pinch-zoom isn't specified. See https://bugs.chromium.org/p/chromium/issues/detail?id=632525.
Comment 1 Radar WebKit Bug Importer 2022-04-06 03:04:14 PDT
<rdar://problem/91344196>