You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Ismael Olusola Jimoh (JIRA)" <ji...@apache.org> on 2012/12/14 10:02:14 UTC

[jira] [Comment Edited] (CB-2054) Iframe not working in Android4.0

    [ https://issues.apache.org/jira/browse/CB-2054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13532169#comment-13532169 ] 

Ismael Olusola Jimoh edited comment on CB-2054 at 12/14/12 9:00 AM:
--------------------------------------------------------------------

Experienced this also.

Here is a sample of the iframe part of my code:

<!DOCTYPE HTML>
<html>
  <head>
    <meta name="viewport" content="user-scalable=no,width=device-width" />
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <script src="cordova-2.2.0.js" type="text/javascript"></script>
    <script type="text/javascript" charset="utf-8" src="main.js"></script>
	<script src="jquery-1.8.2.min.js" type="text/javascript"></script>
   <script src="jquery.mobile-1.2.0.min.js" type="text/javascript"></script>
   <link rel="stylesheet" href="jquery.mobile-1.2.0.css" type="text/css" media="screen" title="no title" charset="utf-8">
	
    <script type="text/javascript">
   
   
	</script>
  </head>
  <body >
 
          <iframe src="http://www.gsmarena.com/" scrolling="auto">
          	 <p>Your browser does not support iframes.</p>
          </iframe>             

  	
  </body>
</html> 

I cannot click on any text box. This problem is unique to Android 4.0.X. As I have tested and works fine in Android above and below this version.

Thanks.
                
      was (Author: akoredenitan):
    Experienced this also.

Here is a sample of the iframe part of my code:

          <iframe src="http://www.gsmarena.com/" scrolling="auto">
          	 <p>Your browser does not support iframes.</p>
          </iframe>  

I cannot click on any text box. This problem is unique to Android 4.0.X. As I have tested and works fine in Android above and below this version.

Thanks.
                  
> Iframe not working in Android4.0
> --------------------------------
>
>                 Key: CB-2054
>                 URL: https://issues.apache.org/jira/browse/CB-2054
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>         Environment: Android4.0 corodova2.1.0 Jquerymobile 1.2.0
>            Reporter: nathiya
>            Assignee: Joe Bowser
>              Labels: android, javascript, jquery, phonegap
>             Fix For: 2.2.0
>
>   Original Estimate: 51h
>  Remaining Estimate: 51h
>
> I am using IFrame for loading webpage .its working fine in android 2.2 but its not working in android 4.0.Input elements inside the webpage are disabled I can't able to type and click the button and then
> I have searched and added scrolling="no" in Iframe tag.Now i can able to type in the textbox(access input elements inside the webpage in Iframe) but i can't able to scroll to the left and right of the webpage.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira