WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
150554
Fast-click heuristic should account for scrolling distance
https://bugs.webkit.org/show_bug.cgi?id=150554
Summary
Fast-click heuristic should account for scrolling distance
Wenson Hsieh
Reported
2015-10-25 22:46:53 PDT
Currently, the fast-clicking heuristic only change in zoom level into account. This means double tapping clickable elements near the edge of the viewport will fast-click instead of scroll to the element, since the change in zoom is negligible in this case. We should allow double-tapping to scroll in this case if the amount by which we would scroll in either axis is more than a configurable distance (a ratio of the device dimensions in either axis). Additionally, this heuristic should allow double-tap scrolling to work even in the unscalable viewport case — that is, if double-tapping a clickable element near the edges of the viewport in a non-user-scalable page, we should scroll to that element instead of immediately dispatching the click.
Attachments
Patch
(23.25 KB, patch)
2015-10-26 09:39 PDT
,
Wenson Hsieh
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Wenson Hsieh
Comment 1
2015-10-25 22:47:24 PDT
<
rdar://problem/23250766
>
Wenson Hsieh
Comment 2
2015-10-26 09:39:19 PDT
Created
attachment 264046
[details]
Patch
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug