[Webkit-unassigned] [Bug 206887] New: Keyboard input doesn't work in WKWebView

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 28 09:25:30 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=206887

            Bug ID: 206887
           Summary: Keyboard input doesn't work in WKWebView
           Product: WebKit
           Version: Safari 13
          Hardware: iPhone / iPad
                OS: iOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ashley at scirra.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200128/a424bfbd/attachment.htm>


More information about the webkit-unassigned mailing list