RESOLVED FIXED 227478
[css-scroll-snap] Triggering a layout during scroll causes jittery scrolling on Mac when dragging the scrollbar
https://bugs.webkit.org/show_bug.cgi?id=227478
Summary [css-scroll-snap] Triggering a layout during scroll causes jittery scrolling ...
Martin Robinson
Reported 2021-06-29 01:47:36 PDT
When a page trigger layout during scroll events and with scroll snap, dragging the scrollbar on a Mac causes a lot of jitter while scrolling. The issue is that during layout the code is trying to snap. Each new movement of the scroll bar unsnaps briefly and then the relayout snaps again.
Attachments
Test case (1.15 KB, text/html)
2021-06-29 01:48 PDT, Martin Robinson
no flags
Patch (13.44 KB, patch)
2021-07-01 04:36 PDT, Martin Robinson
no flags
Patch (14.47 KB, patch)
2021-07-02 03:25 PDT, Martin Robinson
no flags
Patch (14.42 KB, patch)
2021-07-05 01:32 PDT, Martin Robinson
no flags
Martin Robinson
Comment 1 2021-06-29 01:48:16 PDT
Created attachment 432460 [details] Test case
Martin Robinson
Comment 2 2021-07-01 04:36:08 PDT
Martin Robinson
Comment 3 2021-07-02 03:25:13 PDT
Martin Robinson
Comment 4 2021-07-05 01:32:15 PDT
EWS
Comment 5 2021-07-05 02:21:12 PDT
Committed r279564 (239395@main): <https://commits.webkit.org/239395@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 432874 [details].
Radar WebKit Bug Importer
Comment 6 2021-07-05 02:22:18 PDT
Note You need to log in before you can comment on or make changes to this bug.