fix(widget): defer touch presses until a scroll is classified #26
Loading…
Reference in a new issue
No description provided.
Delete branch "sakulflee/fix/touch-scroll-over-widgets"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A touch drag inside a Scrollable currently only scrolls over empty space. Widgets capture the touch press first (buttons, checkboxes, sliders), so the scrollable never starts a touch scroll and the widget activates instead. This defers the press until the gesture is classified: a tap is replayed to the content, a drag along the scroll axis scrolls without reaching the widget, and a cross-axis drag is handed to the widget. Adds Shell::uncapture_event so the replayed press cannot suppress the replayed release. Part of Orbital issue #1125.