0

In my application I have a search box at the bottom of the screen.

When the user focuses on the input field, the keyboards comes to view but the input field is now hidden behind the keyboard. Once the user starts typing, only then input field will be visible - but only half of the input field.

This problem is happening only in Android...

  <div id="HomeScreen"   data-dojo-type="dojox.mobile.View" data-dojo-props="selected: false">
  <div class="header">
     <div class="header_name">
        <div id="header_menu_panel">
           <div id="menu" class="menu_field"><img src="images/menu.png"></div>
           <div id="like" class="menu_field"><img src="images/like.png"></div>
        </div>
     </div>
  </div>
  <div id="_ddPanel">

     <div id="ddPanel" data-dojo-type="dojox.mobile.ScrollableView">
     <form action="" id="ddPanelForm">
        <div id="dropdown_panel">
           <div id="dd1" class="dropdown_fld">
              <span class="blue_text">drop1</span><br/>
              <select id="industry_dropdown">
                 <option value="0">Select</option>
              </select>
           </div>
           <div  id="dd2" class="dropdown_fld">
              <span class="blue_text">drop2</span><br/>
              <select id="sa_dropdown">
                 <option value="Select">Select</option>
              </select>
           </div>
           <div id="dd3" class="dropdown_fld">
              <span class="blue_text">drop3</span><br/>
              <select id="kpi_dropdown">
                 <option value="Select">Select</option>
              </select>
           </div>
           <br/>
        </div>
        <div   class="h_center" style="text-align: center;"><input type="submit" id="option_search_sbumit"  value="Submit"/></div>
        <div id="Subdrivers"></div>
        </form>
     </div>

  </div>
  <form action="" id="mainSearchForm">
  <table id="search_panel">
     <tr>
        <td>
           <input type="search" id="search_input_field" width="100px" />
        </td>
        <td width="30px"><input type="submit" value="" id="search_button" /></td>
     </tr>
  </table>
  </form>

enter image description here

1 Answers1

0

Per my answer in the following question, I do not believe this is at all about Dojo nor Worklight, but rather about the behavior of the virtual keyboard in Android in web apps.

Please review: How to auto-scroll to input field in Android when the soft keyboard overlaps them on showing?

Here are some suggested solutions:

Community
  • 1
  • 1
Idan Adar
  • 44,156
  • 13
  • 50
  • 89