-
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
Ionic 2 - IOS 10 Keyboard bug #8185
Comments
It feels like there is something blocking, since the log output and a lot of events are having a weird behavior on ios. |
Any news about this? |
@John0x would you mind trying this with our wkwebview plugin. Thanks! |
Sadly it does not fix the bug. |
I installed the plugin properly and it was running (confirmed), but still had the same behaviour. |
Same problem here, the keyboard does not close and it's a big problem for iOS apps... |
This happens in Ionic 2 RC0 as well; fixing this soon would greatly improve the confidence of those of us who are considering Ionic for a new app but want assurance that it will stay on top of device platform updates. |
For me it's a pain to update my ionic2 beta 11 app version to RC0.. |
Yes, publishing a workaround that works prior to RC0 would also be super nice since the update isn't trivial. |
I start to update today but as I'm not sure if there will be some big change log soon, I think it's better to wait and update my app when Ionic team will ensure there will not be any other BIGGGGG Change.... |
It's the RC, so there shouldn't be alot of big changes anymore. |
Thanks @John0x this is a good fix. |
I'm seeing this problem too - the keyboard is not disappearing after an alert. IOS 10 (iPhone SE) running from within Ionic View. |
Definitely a bug. I was also able to get rid of the keyboard by using onDidDismiss() and Keyboard.close() on the alert controller, but still looks unprofessional as the screen scrolls up including the header. Hope it gets fixed soon. |
Is there an update to this bug? With RC.1 and iOS10 I still see the bug. |
Yep I also see this one with rc1. |
It also happens to me on RC1, and not in an alert. Just on a regular input on a regular form, if you send the form by tapping on return key, after the redirect with this.nav.setRoot the keyboard keeps open. |
Working in this issue! Sorry for taking so long |
I made a workaround importing Keyboard from 'ionic-native' anda executing 'Keyboard.close()' after the action I needed |
Hi, Importing the Keyboard and force it to close partially worked for me, as the input dialog sometimes stays open and freezes the app. will this be fixed in the next version? Any hind on a release date for it? Thanks for your effort. |
I am also experiencing this issue with an Ionic 1 project. The keyboard was working fine until I updated my iPhone to iOS 10.1.1. Will the fix be applied to both Ionic 1 and 2? Thanks |
Same here on Ionic2rc3 I'm using Ionic-native and Keyboard.close() meanwhile. |
Thanks for the report everyone, we're working on this right now and I'll keep everyone updated, thanks |
I've made some updates to how alerts work when there's a text input, and it's on a mobile device. Would this group be able to test out our nightly version and let me know how it goes? Thanks |
@ohh2ahh It seems that it is intended to solve the keyboard overlap issue, per the commit: |
How can i implemented the changes from @adamdbradley ? I still have the alert input keyboard issue and no idea how to solve this or make a workaround. |
@Daphko you can install ionic native keyboard plugin and use it like this
|
Thx @numerized but the solution has one problem. If you click outside the alert box, the alert box closes and the keyboard stays open. Thats because there is no handler for this click action. Do you have any solution for this? |
I think
|
Hi! No answer for Any info that could fix this?
|
@arturalkaim try Keyboard.close(); instead of this.keyboard.close();
|
Thanks @peterpeterparker! |
I have issues with ionic 1.3.2 and iOS 10.1.1. When keyboard pop up the page scroll up with lot of space in between the keyboard and input field. This was working fine in iOS 9.1.1. |
When I use Keyboard.close(); the keyboard closes but whenever I touch the screen it reopens. Any ideas anyone? |
@RobVR I am also having this issue. Did you ever find a fix? I am using iOS 11. |
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. |
Short description of the problem:
This happens on every ios 10 device.
If you open a dialog (alert) und enter something into an input field and you close the dialog (by clicking the close button), then the keyboard will stay open and not close.
I've tried to use the ionic keyboard plugin to close the keyboard manually upon clicking the button (Keyboard.close()), but it has zero affect.
I've created a new blank project (ionic start testProj --v2 --ts) and added a dialog with an input field and a button (actually took the code from the docs to make sure), it has the same effect.
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
There are no error messages or whatsoever.
Which Ionic Version? 1.x or 2.x
2
Run
ionic info
from terminal/cmd prompt: (paste output below)Your system information:
Cordova CLI: 6.3.1
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.0.0-beta.37
Ionic App Lib Version: 2.0.0-beta.20
OS:
Node Version: v6.3.0
The text was updated successfully, but these errors were encountered: