Using a keyboard attachment to an iPad. "keydown" events never fire in WKWebView if you preventDefault() on "touchstart" events. Minimal repro: https://www.scirra.com/labs/bugs/keypresses.html Steps to reproduce: 1. Set up device with keyboard 2. View URL in Safari. Press a key. Observe keyboard input. 3. View URL in WKWebView. Press a key. Expected: also receive keyboard input Observed: no keyboard input received If we remove the call to preventDefault() in "touchstart", it starts working again in WKWebView. However we need to call preventDefault() for other reasons. It shouldn't block keyboard input. It works correctly in Safari, only WKWebView is blocking keyboard input.
Just to clarify - this report pertains to a physical keyboard, not the on-screen keyboard.
<rdar://problem/59005584>