Bug 130836

Summary: typing on the virtual keyboard won't produce text in input field in an iframe
Product: WebKit Reporter: Daniel Szabo <szdy12>
Component: FramesAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: iPhone / iPad   
OS: iOS 7.0   
URL: http://www.flyordie.com/bugs/ios-safari-input.html
Attachments:
Description Flags
outer frame
none
inner frame none

Description Daniel Szabo 2014-03-27 06:28:44 PDT
Created attachment 227944 [details]
outer frame

In the following scenario no text will appear in an input field:
- the input field is in an iframe
- the outer frame has an ontouchstart handler
- the inner frame has an ontouchstart handler that calls preventDefault

For testing, use the attached samples or the provided urls.

http://www.flyordie.com/bugs/ios-safari-input.html

Tap on the gray area. When the on-screen keyboard pops up, try to enter text => nothing will appear in the input field.

If you open the subframe directly, typing works:

http://www.flyordie.com/bugs/ios-safari-input-frame.html
Comment 1 Daniel Szabo 2014-03-27 06:29:08 PDT
Created attachment 227945 [details]
inner frame