Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3d6e0f0b4fa1881ac3052b1b87bb71e21d45a793
https://github.com/WebKit/WebKit/commit/3d6e0f0b4fa1881ac3052b1b87bb71e21d45a793
Author: Abrar Rahman Protyasha <[email protected]>
Date: 2026-09-17 (Thu, 17 Sep 2026)
Changed paths:
M Source/WebKit/UIProcess/mac/AppKitGestures/WKAppKitGestureController.mm
M Tools/TestWebKitAPI/Tests/WebKit/WebPage/AppKit Gesture
Tests/EmbeddedAppKitGesturesTests.swift
Log Message:
-----------
[AppKit Gestures] Scrolling, then interrupting, an enclosing scroll view's
deceleration follows the link below the mouse
https://bugs.webkit.org/show_bug.cgi?id=324477
rdar://187513844
Reviewed by Aditya Keerthi.
We claim simultaneous recognition between our single click gesture and a
built-in scroll view pan gesture, so the click does not get excluded
when we interrupt a momentum scroll on enclosing scroll views. This
produces unwanted link navigation.
We solved the version of this problem where we taught our click gesture
to not get in the way of scrolling driven by us, c.f. 321053@main, and
this patch achieves the same for enclosing scroll views.
Test:
AppKitGesturesTests.Embedded/interruptingEnclosingScrollViewDecelerationDoesNotFollowLink
* Source/WebKit/UIProcess/mac/AppKitGestures/WKAppKitGestureController.mm:
(-[WKAppKitGestureController
gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer:]):
* Tools/TestWebKitAPI/Tests/WebKit/WebPage/AppKit Gesture
Tests/EmbeddedAppKitGesturesTests.swift:
(AppKitGesturesTests.interruptingEnclosingScrollViewDecelerationDoesNotFollowLink):
Canonical link: https://commits.webkit.org/321342@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications