Bug 130836 - typing on the virtual keyboard won't produce text in input field in an iframe
Summary: typing on the virtual keyboard won't produce text in input field in an iframe
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Frames (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad iOS 7.0
: P2 Normal
Assignee: Nobody
URL: http://www.flyordie.com/bugs/ios-safa...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-27 06:28 PDT by Daniel Szabo
Modified: 2014-03-27 06:29 PDT (History)
0 users

See Also:


Attachments
outer frame (471 bytes, text/html)
2014-03-27 06:28 PDT, Daniel Szabo
no flags Details
inner frame (632 bytes, text/html)
2014-03-27 06:29 PDT, Daniel Szabo
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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