Phonegap: Keyboard changes window height in iOS 7 <p>In iOS 6 everything works fine. The keyboard opens and moves the input into view. When the keyboard closes everything goes back where it should.</p> <p>In iOS 7 the keyboard opens fine and the input remains in view. When the keyboard is closed the whole bottom half of the app is gone, though. I've tracked the issue down to the height of the window changing when the keyboard is opened, and not changing back when it's closed.</p> <p>Right before the keyboard is opened the window height is 568 according to $(window).height() and after it's opened and after it's closed it is 828. The height of the document also changes accordingly.</p> <p>I've attempted preventing the window from resizing with:</p> <pre><code>$(window).resize(function(e) { e.preventDefault(); e.stopPropagation(); window.resizeTo(320,480); return false; }); </code></pre> <p>I've also attempted to set the size back after the keyboard closes with no success.</p> <p>I'm using phonegap 2.7 and have KeyboardShrinksView set to true. </p>