Android soft keyboard hides the input field in bottom screen
See original GitHub issue** Ionic v2 **
Android soft keyboard hides the input filed in the bottom of the screen. Need to scroll to bottom manually. But when I commented the app.bundle.js
like below, It works fine and last input field automatically pulled up when I focus it.
<body>
<!-- this Ionic's root component and where the app will load -->
<!--<ion-app></ion-app>-->
<div style="height:40px"><input type="text"/></div>
<div style="height:40px"><input type="text"/></div>
<div style="height:40px"><input type="text"/></div>
<div style="height:40px"><input type="text"/></div>
<div style="height:40px"><input type="text"/></div>
<div style="height:40px"><input type="text"/></div>
<div style="height:40px"><input type="text"/></div>
<div style="height:40px"><input type="text"/></div>
<div style="height:40px"><input type="text"/></div>
<div style="height:40px"><input type="text"/></div>
<div style="height:40px"><input type="text"/></div>
<div style="height:40px"><input type="text"/></div>
<div style="height:40px"><input type="text"/></div>
<script src="cordova.js"></script>
<!--<script src="build/js/app.bundle.js"></script>-->
</body>
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:21 (5 by maintainers)
Top Results From Across the Web
Android Keyboard hides EditText - Stack Overflow
Here is simple solution for Android EditText issue of hiding behind SoftKeypad. Use the code in AndroidManifest.xml file of ...
Read more >Handle input method visibility | Android Developers
When input focus moves in or out of an editable text field, Android shows or hides the input method—such as the on-screen keyboard—as ......
Read more >Keyboard hides form fields on mobile device, when user ...
Hi ,. We have input form which has input fields, when i click on them and keyboard get showed on mobile device, to...
Read more >Android keyboard hides input field - Backendless Support
This means that if the input field is in the lower half of the screen, the keyboard actually hides the input field.
Read more >Android soft keyboard hides the input field in bottom screen
Android soft keyboard hides the input filed in the bottom of the screen. Need to scroll to bottom manually. But when I commented...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I can confirm the issue. When an input get focused, the keyboard shows up and hide a part of the view. If your input is part of it, the user will have to scroll to it as you can see:
The best behavior should be like natives app do, i.e. move the entire page like that:
+1 Seeing the same issue on Moto G2 Android 6.0 device. Tried different things (see my forum post) but no luck. Virtual keyboard seems a bugging issue on both ios and Android.