-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: White Background overlays view on Keyboard show / hide on Android #4057
Comments
Do you have a background color in that view? |
Well the pane has #fff per default i guess. thats it.some elements of course, but not white. |
Just tested this out on a nexus 5 running android 5.0, wasn't able to reproduce it. Is there any more information you could provide? Perhaps a video of it happening? |
I have the exact same issue, with the combination of 'fullscreen' and 'native scrolling'. I can reproduce with or without Crosswalk on my Galaxy Tab 4 (Android 4.4.2). Different versions of ionic-plugin-keyboard (1.0.0, 1.0.4 or 1.0.5) all had the same result. I've recorded a video of it happening. @kryptikal could you confirm this is what you're seeing? |
Yes. Exactly the same. |
I got the same issue for the 20/30px extends above keyboard. Since my application background is not white but dark color, it looks like quite ugly. I "hide" this issue by setting my background color on the About the second issue, I used to had the same one as you, so I had a look a found two others issue which duplucate this one with two different workaround: #3927 and #4007. You could try one of them until the problem is solved in future Ionic release. |
@DURK would you be able to provide some markup for this particular view? Maybe even a minimal codepen for me to pull down and test on. |
Greetings @kryptikal! My sensors indicate a reply was requested, but as we have not received one yet, I am using my robot powers to close this issue. However, if you are still experiencing this issue, please feel free to reopen it by creating a new issue, and include any examples or necessary information. Thank you for allowing me to assist you. |
1 similar comment
Greetings @kryptikal! My sensors indicate a reply was requested, but as we have not received one yet, I am using my robot powers to close this issue. However, if you are still experiencing this issue, please feel free to reopen it by creating a new issue, and include any examples or necessary information. Thank you for allowing me to assist you. |
Did #4007 fix this? |
Experiencing the exact same issue here. |
Hello all! Is this still an issue with ionic 1.3.0? |
Yes El miércoles, 27 de abril de 2016, Justin Willis notifications@github.com
|
Hello all, thanks for opening an issue with us! As i cannot seem to reproduce this on any of my Android devices (Nexus 6 running latest Android N dev preview, Nexus 7 2013 running Android 6.0.1 and a Moto X 2014 running Android 5.1.1) i will be closing this issue for now. If anybody could post a minimal example that i can use to reproduce this issue i will happily reopen. Thanks for using Ionic! |
Hi @jgw96, you can download the app "Happnd" which was presented on the ionic blog recently... There is one screen with a not-white background, and as far as I remember, I saw the issue on this one, opening and closing the keyboard. |
@jgw96 Actually, the issue also exists on ionic 2. Run a sample app on Android with a background picture (in the current view) and make the keyboard pops up. You'll see the "white" space under the keyboard until it completely disappears. |
I can trigger this issue pretty easily, using Ionic 1.3.1. I've forked the
You can run the following commands to see this issue in action:
I had that code in place (referring to the call to |
I dont know why this issue has been closed ....Bumbing this thread.. if anyone of u want, i can give u a demo video. Ionic.version:1.3.1 |
Still same. |
Same problem. Anyone can fixed this? -Ionic 1.3.2 |
2.1.7 same .. |
I'm also getting the same problem on 1.3.2 |
keyboard appear with white block at top, which hash height about 80% of keyboard height, it overlaps all elements at page, but if input element gets focus and it appear under white block, coursor appear at correct position and blinks, but without text of input element or labels. |
This issue still happens in Ionic 2 in iOS. I drew in red all the things that happen after you close the keyboard(K): 1- The tabs (T) that were previously behind the keyboard and with bottom: 0 are now placed on top of the keyboard. Other things I found interesting:
|
I solved the problem with this, in the platform/android folder open the manifest.xml and in the main activity tag replace the android:windowSoftInputMode="adjustResize" attribute with android:windowSoftInputMode="adjustPan" |
I had this issue with native scrolling and found that it was limiting the height of the ion-content whenever the keyboard was up. This caused my view to appear truncated (half blank) unless you close the keyboard. I solved it by force setting the height to auto. Hope this helps. .keyboard-up{
height: auto !important;
} |
@niyando do you mind providing me your full html markup? I can't seem to apply this to my ionic app |
I fix this problem, my solution. Add on the page content |
The following worked for me:
|
Hi, I have a similar problem, the current page was being pushed by the keyboard, and when it disappears the page behind was visible just a moment in the space where the keyboard was.
|
@ignacioPastor , the properties in AndroidManifest.xml file can be overwritten from config.xml at build time using this plugin: https://www.npmjs.com/package/cordova-plugin-settings-hook. I added these two lines in config.xml and it worked for me.
|
this Temp fix solve the issue for me
|
@AdityaDaflapurkar ,hello,friend ,have a similar problem like@ignacioPastor, i use your way ,but ,i still have this problem ,this is my config.xml |
i have done this problem , i write |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Type: bug
Platform: android 5.x webview
Platform: Android (5.0, not tested on other devices)
Ionic: 1.0.1 (Vanadium...)
Prerequisites:
2 Issues:
An similar issue as an example can be seen here:
http://forum.ionicframework.com/t/white-background-shows-when-keyboard-closes-on-android/25258
Solution:
Removing the line "ionic.platform.isFullscreen = true" solves both issues for me.
There seems to be no impact for iOS (ionic.platform.isFullscreen = true; is still set for iOS)
The text was updated successfully, but these errors were encountered: