Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 24bc94ef702df472e0b0e75d7448090b147c1c84 https://github.com/WebKit/WebKit/commit/24bc94ef702df472e0b0e75d7448090b147c1c84 Author: Darryl Pogue <dar...@dpogue.ca> Date: 2024-05-22 (Wed, 22 May 2024)
Changed paths: M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm Log Message: ----------- iOS: Fix gamepad detection when becoming firstResponder https://bugs.webkit.org/show_bug.cgi?id=269292 Reviewed by Brady Eidson. Gamepads were only detected at initial load of the page if the WKWebView were marked as the firstResponder, rather than detecting when the WKWebView becomes or resigns the firstResponder. This aligns the behaviour with WKWebView on macOS. * Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView becomeFirstResponderForWebView]): (-[WKContentView resignFirstResponderForWebView]): Enable/disable checking for gamepads when the WKWebView becomes or resigns firstResponder status. Canonical link: https://commits.webkit.org/279124@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