[webkit-changes] [WebKit/WebKit] 830a3f: [scroll-anchoring] cbssports.com: Video playing an...

Nikos Mouchtaris noreply at github.com
Wed Jan 17 13:43:35 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 830a3fbfc285ee62ade6802295dbf81f3f7962c2
      https://github.com/WebKit/WebKit/commit/830a3fbfc285ee62ade6802295dbf81f3f7962c2
  Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
  Date:   2024-01-17 (Wed, 17 Jan 2024)

  Changed paths:
    M Source/WebCore/page/scrolling/ScrollAnchoringController.cpp

  Log Message:
  -----------
  [scroll-anchoring] cbssports.com: Video playing and webpage elements flickering when scrolling
https://bugs.webkit.org/show_bug.cgi?id=267644
rdar://119959431

Reviewed by Wenson Hsieh.

On cbssports.com there is an undesired scroll anchoring adjustment when the user scrolls to dismiss
the video, which cancels the user scroll and brings back up the video. Ideally, we would understand
why this adjustment is occuring, but for now we should disable anchor adjustments during user scroll
(like we do on iOS) to prevent them from interfering with user gestures.

* Source/WebCore/page/scrolling/ScrollAnchoringController.cpp:
(WebCore::ScrollAnchoringController::adjustScrollPositionForAnchoring):

Canonical link: https://commits.webkit.org/273142@main




More information about the webkit-changes mailing list