Unanswered: iOS 6 with Sencha Touch 1.1 file upload

Unanswered: iOS 6 with Sencha Touch 1.1 file upload

After choosing a file via a "Choose File" button (input type="file") on an iOS6 iPhone, I encounter a strange behavior almost everytime. The "Take Photo...Choose Existing" dialog reapears on my first tap after the original choosing.

File input control in sencha 1 for IOS6 issue

File input control in sencha 1 for IOS6 issue

Even i am facing the same issue.

There is no need of special javascript code or something.
Just put a file control in any specific sencha container or panel. Tap on the Html File control, the Camera Roll menu opens some where else where we tapped previously.

Amazing

Amazing

You've saved my bacon. This one was awful as I was originally trying to use an iFrame to isolate the input field from the ST event system. However, this led to its own set of issues (not advisable to take this route - explanation below).

Why not to use an iFrame to try to solve this problem:-

If you have the input field in a form which is part of a ST XTEMPLATE, and the form is modified as part of the upload and if you have to update the template again (e.g. navigating to a sub-view and back again during the upload), the form changes will be lost. If you try to remove and re-attach the iframe to the DOM, weird things can happen. The iframe may reload, and the browser probably doesn't like to be detached from the DOM during the upload. Anyway in short, it is much simpler to just fix the issue using the fix as outlined by Ethorsen (many thanks for posting solution).