Bug 311227

Summary: [Scroll anchoring] Add a heuristic that disables scroll anchoring for frequent adjustments
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: ScrollingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=311235

Simon Fraser (smfr)
Reported 2026-03-31 15:22:07 PDT
Some sites (e.g. depop.com) suffer from scroll position oscillations triggered by scroll anchoring. Such issues are easy to cause by accident by combining scroll position observation (e.g. via window.scrollY or Intersection Observer) and content changes. Gecko has a heuristic to disable anchoring in cases like this, so do something similar. <rdar://173680821>
Attachments
Simon Fraser (smfr)
Comment 1 2026-03-31 15:37:15 PDT
EWS
Comment 2 2026-04-03 17:29:40 PDT
Committed 310545@main (e1f2eaabdb5c): <https://commits.webkit.org/310545@main> Reviewed commits have been landed. Closing PR #61797 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.