Bug 218903

Summary: [WPE] Prevent elements getting stuck in a pressed state when scrolling on a touchscreen
Product: WebKit Reporter: Joshua Watt <JPEW.hacker>
Component: WPE WebKitAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: aperez, bugs-noreply, cgarcia, pnormand, zan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Joshua Watt 2020-11-13 07:36:45 PST
[WPE] Prevent elements getting stuck in a pressed state when scrolling on a touchscreen
Comment 1 Joshua Watt 2020-11-13 07:37:12 PST
Created attachment 414042 [details]
Patch
Comment 2 Joshua Watt 2020-11-13 07:40:57 PST
If the scroll controller prevents touch up events from propagating to the page, the underlying elements (e.g. buttons) get stuck in the "pressed" state. This is particularly noticeable on sensitive touchscreens where a small amount of movement (which triggers a scroll) is unavoidable.
Comment 3 Philippe Normand 2020-11-17 07:50:24 PST
This would at least need a ChangeLog entry, see this page for the full procedure :) https://webkit.org/contributing-code/
Comment 4 Joshua Watt 2020-11-17 08:05:09 PST
Created attachment 414342 [details]
Patch
Comment 5 Adrian Perez 2020-11-19 05:53:36 PST
Comment on attachment 414342 [details]
Patch

Thanks! The explanation in the ChangeLog makes sense to me and
Carlos GarcĂ­a also thinks the change is correct :)
Comment 6 EWS 2020-11-19 05:56:02 PST
Committed r270022: <https://trac.webkit.org/changeset/270022>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 414342 [details].