-
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
UI breaks when OSKB displays on iOS 12 - Ionic 4 Beta 7, Capacitor 1 beta-8 #15824
Comments
Got the same issue :( It works fine for me on your repo https://github.com/grabitlogistics/ios12kbd |
@Monierv We were advised that this is the same as: Which is suspected to stem from an iOS 12 SDK issue: We are going to test today, but there's talk that building with Xcode 9 fixes it until an actual fix is released. Hope the links help. |
Confirming that building with XCode9 fixes it @nicdichiara |
Any progress on this one? |
I did some testing on multiple ios/emulators iPhone 8 Plus iOS 11 -> no view shits everything is ok |
If it's not fixed since then, I think this problem is more related to https://github.com/ionic-team/cordova-plugin-ionic-keyboard - So I close this issue here |
The issue also exists in capacitor, so I don't think it's specific to that issue. |
Capacitor is also using a plugin to display the keyboard. But maybe I am totally wrong, so @jcesarmobile can you say something about it? If I am wrong, i will open this issue again here. |
As it was commented by @nicdichiara, this is a bug in the iOS 12 SDK (Xcode 10). There are a few workarounds mentioned |
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. |
Bug Report
Ionic Info
Run
ionic info
from a terminal/cmd prompt and paste the output below.Describe the Bug
When the on screen keyboard is displayed and hidden (from a footer input), it causes the UI to be scrolled up, the user interface is 'shifted' up by the width of the keyboard. When the keyboard then disappears, all the UI input is still shifted up by the width of the keyboard. This means all clicks in the UI are too high (ie inputs, etc). Also, when an input is in the content area, the keyboard will hide the input instead of scrolling it as it should.
Steps to Reproduce
Steps to reproduce the behavior:
Related Code
sample test case: https://github.com/grabitlogistics/ios12kbd
Additional Context
This ONLY happens on iOS 12, on a hardware device OR emulator. To test in an emulator, you must use the emulated keyboard in order to cause the UI to shift up.
The text was updated successfully, but these errors were encountered: