Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Jetpack Compose release version: 1.0.0-beta04 Android Studio Build: 7.0.0-alpha14
The current
AwaitPointerEventScope.waitForUpOrCancellation
function detects when a pointer leaves the current input area. It would be helpful if this function had an overload, or took an optional parameter, that was aRect
describing an area inside the total input area to cancel when the pointer leaves.One use case for this is for implementing gestures for complex controls that have multiple internal "touchable" parts. Example is in this gist .