Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b1a015a4a92d672f495d225a6db5377580eeface
https://github.com/WebKit/WebKit/commit/b1a015a4a92d672f495d225a6db5377580eeface
Author: Abrar Rahman Protyasha <[email protected]>
Date: 2026-02-13 (Fri, 13 Feb 2026)
Changed paths:
M Source/WebKit/Platform/spi/mac/AppKitSPI.h
M Source/WebKit/UIProcess/mac/WKAppKitGestureController.mm
Log Message:
-----------
[AppKit Gestures] Click gestures should not prevent scroll/zoom gestures
https://bugs.webkit.org/show_bug.cgi?id=307730
rdar://170277053
Reviewed by Wenson Hsieh and Aditya Keerthi.
The scroll and magnification gestures musn't be prevented by our single
and secondary click gestures, or else we will see unexepcted stuttering
when panning. In this patch, we achieve said goal by implementing
gesture prevention delegate methods.
* Source/WebKit/Platform/spi/mac/AppKitSPI.h:
* Source/WebKit/UIProcess/mac/WKAppKitGestureController.mm:
(-[WKAppKitGestureController startMomentumIfNeededForGesture:]):
(-[WKAppKitGestureController interruptMomentumIfNeeded]):
Canonical link: https://commits.webkit.org/307519@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications