Bug 146497 - REGRESSION (r184296): View keeps scrolling upward
Summary: REGRESSION (r184296): View keeps scrolling upward
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-06-30 23:57 PDT by Brent Fulgham
Modified: 2015-07-01 12:30 PDT (History)
3 users (show)

See Also:


Attachments
Patch (4.58 KB, patch)
2015-07-01 00:04 PDT, Brent Fulgham
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2015-06-30 23:57:32 PDT
The change in <http://trac.webkit.org/changeset/184296> introduced a regression on certain sites that handle scrolling manually. The change in r184296 was designed to make sure that the logic to notify scroll bars that they should re-hide was not bypassed when the wheel event had zero movement, which is typical for "end scroll" state.

Unfortunately, on certain sites this had the undesirable side-effect of triggering a programmatic scroll event in JavaScript at the end of the gesture.

I'm working on a reduced test case for this behavior, but I have a fix for the web page showing the problem.
Comment 1 Brent Fulgham 2015-06-30 23:58:34 PDT
<rdar://problem/21524942>
Comment 2 Brent Fulgham 2015-07-01 00:04:36 PDT
Created attachment 255903 [details]
Patch
Comment 3 Brent Fulgham 2015-07-01 12:30:28 PDT
Committed r186185: <http://trac.webkit.org/changeset/186185>