Bug 232229

Summary: [GTK][WPE] REGRESSION(r284596): Scrolling sometimes jumps to the top of the page during smooth mouse-wheel scrolling
Product: WebKit Reporter: Chris Lord <clord>
Component: ScrollingAssignee: Chris Lord <clord>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, cgarcia, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 197100    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Description Chris Lord 2021-10-25 03:06:49 PDT
If your mouse-wheel repeat is very frequent (>= 60Hz) or your machine is slow enough that you can receive more than one mouse-wheel event before the associated animation callback for smooth scrolling, the page will jump to 0,0.

I have a one-line fix for this, but seeing if I can write a test to go with it.
Comment 1 Chris Lord 2021-10-25 04:37:40 PDT
Created attachment 442361 [details]
Patch
Comment 2 EWS 2021-10-25 05:35:35 PDT
Committed r284778 (243487@main): <https://commits.webkit.org/243487@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 442361 [details].
Comment 3 Radar WebKit Bug Importer 2021-10-25 05:36:19 PDT
<rdar://problem/84610912>