Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 7707c83355e323c15a209c63358b5fe6f0167f7a https://github.com/WebKit/WebKit/commit/7707c83355e323c15a209c63358b5fe6f0167f7a Author: Brady Eidson <beid...@apple.com> Date: 2025-08-20 (Wed, 20 Aug 2025)
Changed paths: M Source/WebKit/UIProcess/Gamepad/UIGamepadProvider.h M Source/WebKit/UIProcess/ios/WKContentViewInteraction.h M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm Log Message: ----------- On iOS 26, pressing the B button on a gamepad can cause the page to appear to lose "gamepad focus" rdar://156332183 https://bugs.webkit.org/show_bug.cgi?id=297704 Reviewed by Wenson Hsieh. iOS 26 adds some abilities for game controllers to navigate the operating system. When a web page is using the gamepad API, bypass that automatic behavior. * Source/WebKit/UIProcess/Gamepad/UIGamepadProvider.h: * Source/WebKit/UIProcess/ios/WKContentViewInteraction.h: * Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView setUpInteraction]): (-[WKContentView _addDefaultGestureRecognizers]): (-[WKContentView gestureRecognizer:shouldRecognizeSimultaneouslyWithGestureRecognizer:]): (-[WKContentView gestureRecognizer:shouldBeRequiredToFailByGestureRecognizer:]): (-[WKContentView _gamepadInteractionGestureRecognized:]): Canonical link: https://commits.webkit.org/298992@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes