fix(widget): defer touch presses until a scroll is classified #26

Merged
SakulFlee merged 2 commits from sakulflee/fix/touch-scroll-over-widgets into master 2026-11-14 02:59:55 +00:00 AGit
Owner

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.

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.
SakulFlee merged commit 74f3f9e740 into master 2026-11-14 02:59:55 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
SakulFlee/Orbital-Iced!26
No description provided.