Bug 232229 - [GTK][WPE] REGRESSION(r284596): Scrolling sometimes jumps to the top of the page during smooth mouse-wheel scrolling
Summary: [GTK][WPE] REGRESSION(r284596): Scrolling sometimes jumps to the top of the p...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Lord
Keywords: InRadar
Depends on: 197100
  Show dependency treegraph
Reported: 2021-10-25 03:06 PDT by Chris Lord
Modified: 2021-10-25 05:36 PDT (History)
4 users (show)

See Also:

Patch (5.53 KB, patch)
2021-10-25 04:37 PDT, Chris Lord
no flags Details | Formatted Diff | Diff

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