Issue with input behind keyboard
See original GitHub issueThe implementation of the following code breaks ionic behavior to move the focused input above the keyboard:
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { getWindow().getDecorView().setSystemUiVisibility( View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_LAYOUT_STABLE); }
It took me hours to figure out that it was causing this estrange behavior.
I am looking for a workaround for this issue.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
7 Ways to Fix Keyboard Input Lag on Windows 10 - MakeUseOf
Changing a few keyboard properties may help resolve the input lag. Start by pressing Win + R, typing “control keyboard,” and pressing Enter....
Read more >Windows doesn't get my keyboard input - Microsoft Community
Hello, I have just gotten a problem, where windows don't get any input from my keyboard. I've tried many methods that I saw...
Read more >How to Fix Keyboard Input Lag in Games [2022] - YouTube
Issues addressed in this tutorial: keyboard lag windows 10 keyboard ... lags behind typing Encounter the keyboard lag issue after Windows 10 ...
Read more >input textbox hidden behind keyboard on android Chrome
I have a click handler for any input/textarea field. ... This, in my case is not a problem as when the keyboard pops...
Read more >ActionSheet with input being Covered by keyboard #3939
I'm facing the same issue even now. The actionsheets with inputs hide behind the keyboards when opened.
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

@pcsantana hello,
I wrote a tutorial on how to fix the keyboard issue 😃
https://jayserdny.github.io/ionic/ionic-drawer-behind-status-bar/
@jayserdny , thank you for the support. Unfortunately your tutorial did not worked for me. My problem isn’t only for the inputs in the footer, but any input in the content that can be in the bottom part of the screen.
Also, status bar effect only applied after an input focused (I did not figure out why).
But I found a workaround using a helper method to set a padding bottom when the keyboard come up. Using this, I can set again the tags
View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_LAYOUT_STABLEthat give me the feature to change the opacity value of the status bar (using the FLAG_TRANSLUCENT_STATUS, I can not change or remove the “background protection” over the status bar);
So, see the entire code:
MainActivity.java
I hope it help someone! Thanks