-
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
Keyboard overlaps the text input when the input is placed inside an <ion-footer> #7149
Comments
Hello, thanks for opening an issue with us! Would you be able to provide a plunker or repo that demonstrates this issue? Thanks for using Ionic! |
Here's a .zip of a project that demonstrates the issue. (I removed node_modules directory to reduce its size, so you'll need to run |
+1 |
1 similar comment
+1 |
any news on this?I have the same issue, but not only when the input is in a footer |
any workaround till this gets fixed? |
I am having the same issue. I need a fix ASAP. My app is already in production. I have a text input inside an ion-footer-bar It works fine on android. But on IOS the keyboard covers up the text input area. |
@babinc,
I haven't seen any negative side effects using a regular input in place of the ion-input. |
@chrskrchr the nice thing about **Update
// reference: https://github.com/chliebel/angular2-click-outside
|
I am facing the same issue. |
i have same issue. but android is good. this problem only appear ios. i have opend this problem. |
+1 |
Solution with changing ion-input to input doesn't work for me (ionic beta 11). My workaround, in app.ts, constructor, platform is ready:
I'm scaling whole app when keyboard shows - it seems be working. |
I've posted my similar solution here. |
this happens to me even I'm just using and in ionic v1 |
This happens too. This is work. This can't work. |
Sadly this is still open in 2.0.0 on iOS devices |
Hello all! We are currently working with the chrome team on this issue. This is a pretty hard problem to solve because it dives into how keyboards interact with webviews, which is all on the native OS side of things. In the meantime there is this plugin https://github.com/EddyVerbruggen/cordova-plugin-native-keyboard which gives you a native chat input that works around the issue. |
I appreciate that there's a plugin that works around the issue, but that plugin is $199USD, and as far as I can tell doesn't have typings for Ionic 2. |
I have the same problem.. any solution yet? |
Is there any update on this issue yet please? I first raised this with @mhartington a while ago and this really has been a very longstanding issue now. I put a lot of effort into demonstrating the issue here (#5432 Ionic team - this is a really important issue for my apps - please can we have an update. Apologies if I am unaware of a fix or workaround that has gone in. Look forward to hearing from you. |
I'm my particular situation I had an input in
NOTE: There is a bit of a delay before But then when you start typing you'll notice that your text isn't reflecting in the input field. That's thanks to the "fix" Ionic puts in place for "some keyboard issues while scrolling". To disable this you can do the following:
That will overwrite and disable cloned inputs. After that, everything seemed to be working fine. |
Found a solution here: https://stackoverflow.com/questions/32730171/ionic-footer-input-field-being-hidden-by-keyboard-in-chat-app set fullscreen property to value false in config.xml
|
@jgw96 you said quite some time ago that you are looking into the issue with the chrome dev team. Has there been any more insights? |
I just joined the party and I can't believe how long everyone has been waiting on this. This seems like such an essential thing to get right. How have people been dealing with this in the meantime? |
@borys You saved my day!!!! Good job, works well. Thanks 👍 #7149 (comment) |
I have a related issue with the keyboard, first I had the problem with the overlaps on footer and after installing the plugging XKWebView the footer doesn't be hidden anymore, but when keyboard is open an space is added above it (between keyboard and footer) Have someone this issue? How can I fix it? |
@dulcelariz You can fix that by disabling the keyboard scroll.
Please note: make sure to run it after platform ready. You can use
And make sure the footer you added in That's it. |
@renjithvk thanks for your help, I did what you said and the issue still there. 😢 |
@dulcelariz I had that kind of issue. I fixed it by did that. Please try: Disable scroll assist in
Please check the comment #7149 (comment) I've updated it with some more points. |
@dulcelariz I'm sorry to hear that. I'd solved by did that. |
Still working with ionic 3 with @borys solution (#7149 (comment)) Ionic Info
|
The proposed solution only applies to ios it seems but what about android? I am using the ionic cordova keyboard plugin and this isnt working. |
@borys solution worked for me.But the transition is not so smooth in my case.Any way i can achieve that? |
Just by installing this plugin https://github.com/ionic-team/cordova-plugin-ionic-keyboard fixed the issue for me |
Add https://ionicframework.com/docs/native/keyboard/ plugin to ionic application
|
Thanks for the issue! We have moved the source code and issues for Ionic 3 into a separate repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there. Thank you for using Ionic! |
Thanks for the issue! We have moved the source code and issues for Ionic 3 into a separate repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there. Thank you for using Ionic! |
Issue moved to: ionic-team/ionic-v3#117 |
Short description of the problem:
When an
<ion-input type="text">
is placed inside an<ion-toolbar>
in an<ion-footer>
, the iOS keyboard overlaps text inputs placed in an<ion-footer>
and the entire page "jumps" when the input receives focus.What behavior are you expecting?
I would expect the text input to be shown above the keyboard so the user can see what they're typing, similar to what happens in the Messages app on iOS. I also wouldn't expect the entire page to jump down immediately after the input receives focus.
Steps to reproduce:
blank
templatehome.html
, run the app on iOS, and focus on the text inputWhich Ionic Version? 1.x or 2.x
2.x
Run
ionic info
from terminal/cmd prompt: (paste output below)Cordova CLI: 6.2.0
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.10
Ionic CLI Version: 2.0.0-beta.31
Ionic App Lib Version: 2.0.0-beta.17
ios-deploy version: 1.8.6
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v4.2.3
Xcode version: Xcode 7.3.1 Build version 7D1014
The text was updated successfully, but these errors were encountered: