Android platform: scroll to input on focus


#1

Android seems to have an issue where the view doesn’t scroll to the focus on an input field, leaving it covered by the soft keyboard. JQuery Mobile does not have this issue.

Before I raise a bug, is it the opinion of the Ionic team that this should be default functionality? Does the current build already do this but i’m just implementing it wrong?

Take the default tab application and add the following to www/templates/tab-dash.html

<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<div class="item item-input">
<label class=" item-stacked-label no-left-padding">
<span class="input-label">Test</span>
<input type="text" >
</label>
</div>

You’ll see that if you run the default application on an android device, the view doesn’t scroll to have the input field in focus when you click on it.