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.
Code:
<html>
<head>
<title>image upload test</title>
<!--iOS 6 and Sench-Touch-1.1 cause a toast window to reappear after choosing a file and tapping anywhere -->
<script type="text/javascript" src="/_m/assets/libraries/Sencha-Touch-1.1/sencha-touch-debug.js"></script>
<meta name="viewport" content="maximum-scale=0.6667; width=480" />
</head>
<body>
<form action="ImgUploadTestPost.aspx" method="post" enctype="multipart/form-data" name="imgPost">
<input type="file" name="upload1" />
</form>
</body>
</html>
To duplicate, click on the Choose File button, select a photo, tap Use, and then tap the web page gain.
I have not looked too far into this, but wondered if anyone else has run into this.
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.
It even gets opened for the second time when you tap some where else.
Same problem on Sencha Touch 2.0
I´m having the same problem in Sencha Touch 2.0
When I select a photo from my ipad or iphone with ios 6.0 I can see the fake url but when a submit the foto I was asked to select the photo again and the post doesn't send the photo to the server.
The same code works on android.