Bug 218903 - [WPE] Prevent elements getting stuck in a pressed state when scrolling on a touchscreen
Summary: [WPE] Prevent elements getting stuck in a pressed state when scrolling on a t...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WPE WebKit (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-13 07:36 PST by Joshua Watt
Modified: 2020-11-19 05:56 PST (History)
5 users (show)

See Also:


Attachments
Patch (673 bytes, patch)
2020-11-13 07:37 PST, Joshua Watt
no flags Details | Formatted Diff | Diff
Patch (1.77 KB, patch)
2020-11-17 08:05 PST, Joshua Watt
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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].