Skip to main content

Module dead_zone

Module dead_zone 

Source
Expand description

DeadZone — a gesture dead zone wrapper.

§Touch and pen

The no-op tap and drag pair is kept, and it is not redundant with the gesture_dead_zone flag: the flag governs whether an ancestor may enrol this subtree’s press as a member of its own gesture, while the absorbers are what give the wrapper a gesture arena — and the arena is what stops the bubble for a press on the wrapper’s own bare area, the gap between the controls it protects. Reviewed under the arbitration package with that conclusion; nothing about it is pointer-kind-specific.

Structs§

DeadZone
A layout-transparent wrapper whose subtree is a gesture dead zone: a pointer press inside it never arms a drag/swipe recognizer on any ancestor.