Martin Anders created CB-5627:
---------------------------------

             Summary: Keyboard Covers Input fields
                 Key: CB-5627
                 URL: https://issues.apache.org/jira/browse/CB-5627
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 3.2.0
         Environment: plain html with cordova 3.2 for android.
app runing on samsung s3 and s4
            Reporter: Martin Anders


On a scrollable page with many input fields if i focus an input field then the 
keyboard pops up and hides some input fields behind. i can't scroll to the 
textfields near the end of the page. 

Expected behavior like in previous cordova versions (2.9) 
the browser area shrinks and the focused textfield is visible directly over the 
keyboard. I can still scroll more down to see other textfields.

here is the example code:

<!DOCTYPE HTML>
<html manifest="" lang="en-US">
<head>
    <meta charset="UTF-8">
    <title>Example</title>


    <!--<script 
src="http://10.49.40.139:8081/target/target-script-min.js#anonymous";></script>-->

        <style type="text/css">
input {
    color: red;
    background-color: black;
        margin: 30px;
}
</style>

     <script>
                 if( document.location.toString().substring( 0,4 ) != 'http' )
         {
             document.write( '<script src="cordova.js"><' + '/script>' );
         }

     </script>

</head>
<body>
    <div id="appLoadingIndicator">
        <input value="hahaha">
                <input value="hahaha">
                <input value="hahaha">
                <input value="hahaha">
                <input value="hahaha">
                <input value="hahaha">
                <input value="hahaha">
                <input value="hahaha">
                <input value="hahaha">
                <input value="hahaha">
    </div>
</body>
</html>



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Reply via email to