title: ios7 keyboard, when it opens shrinks web-app
body: <p>I have a web-app for iPad. The app uses the iPad keyboard, before when opening the keyboard it would cover the app, now with ios7 the app gets shrinked to the remaining space after the keyboard appears. </p>
  
  <p>Is it possible to change this in JavaScript, and keep the old behavior?</p>
  
  <p><strong>EDIT:</strong> I just noticed that if I open the app on safari it works just like before, the problem appears when I add the app to the main screen.</p>
  
  <p><strong>EDIT:</strong> I almost solved this, but then I got some other problems.</p>
  
  <p>First I added this <strong>height=device-height</strong> to the meta tag I was using:</p>
  
  <pre><code>&lt;meta name = "viewport" content = "user-scalable=no, initial-scale=1.0, maximum-scale=1.0, width=device-width, height=device-height"&gt;
  </code></pre>
  
  <p>But then a small part of my app (the size of the iPad top bar) would be hidden at the bottom. So I did this:</p>
  
  <pre><code>$("#my_app").css("height",window.innerHeight);
  </code></pre>
  
  <p>When I opened the app again it was perfect. But when I open the keyboard, it moves up and wont come down when I close the keyboard. So now at the bottom of the iPad is a black line, and the app is a little bit hidden under the top bar of the iPad.</p>
  
  <p>Can any one help with this?</p>