Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 7398e275f79016108f607ac79bc185515389e92b
https://github.com/WebKit/WebKit/commit/7398e275f79016108f607ac79bc185515389e92b
Author: Wenson Hsieh <[email protected]>
Date: 2026-10-06 (Tue, 06 Oct 2026)
Changed paths:
M Source/WebKit/UIProcess/API/Cocoa/WKWebViewInternal.h
M Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm
Log Message:
-----------
[iOS 27] News app hangs when trying to fill out Mini Crossword puzzle using a
hardware keyboard
https://bugs.webkit.org/show_bug.cgi?id=326426
rdar://188198738
Reviewed by Abrar Rahman Protyasha and Pascoe.
Due to a UIKit bug (rdar://189235007) that causes spurious keyboard
notifications to be sent
whenever a custom input accessory view lays out (even when the bounds don't
change), attempting to
use a hardware keyboard in the News app (with an input accessory view present,
in the Mini Crossword
puzzle) may trigger an infinite loop where layout triggers a keyboard
notification, which then
causes WebKit to call into `-_adjustForAutomaticKeyboardInfo` which (in turn)
may trigger layout.
The root cause is tracked by the UIKit bug above (rdar://189235007); however,
fixing this in UIKit
might be too risky in the short term. For now, try to work around this from
within WebKit with a
temporary hack to coalesce calls to `-_adjustForAutomaticKeyboardInfo` when
receiving these
notifications.
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewInternal.h:
* Source/WebKit/UIProcess/API/ios/WKWebViewIOS.mm:
(-[WKWebView _keyboardChangedWithInfo:adjustScrollView:]):
Canonical link: https://commits.webkit.org/322844@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications