-
Notifications
You must be signed in to change notification settings - Fork 178
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
View not resizing on iOS #35
Comments
Same issue here. Did you find what was causing this ? |
+1 ... persistent issue |
So I keep getting this issue on and off. Today I got it again, and I was able to get this working by downgrading to an older version. I was using 2.1.5 IIRC, and forcing it to install 2.0.5 seems to have fixed this for me. If you try this out, could you please validate whether it works for you @Alex0x47 @radulescuandrew ? |
Hi, I found an other solution. I uninstalled this plugin, and added the other (deprecated ?) keyboard plugin (https://ionicframework.com/docs/native/keyboard/). Then added a few lines in app.modules.ts.
In app.module.ts :
This is not a real solution, but I don't have time for this kind of bug. |
+1 not resizing with |
Thanks all for the info. We have a PR for a related bug and will try to get this one fixed as well |
Okay all, I need a little more information here because there's interplay between keyboard, webview, and ionic framework. What versions of each are you all using? Any repro case we can take a look at? |
I use:
no way the webview is not resizing, the keyboard overlay content |
What version of Ionic? |
I dont use Ionic in this app |
global packages: local packages: cordova-plugin-ionic-webview 2.0.2 "cordova-plugin-ionic-webview" I hope it will help. |
Ionic: Cordova: System: |
Another to the list, Tried with WKWebView, although it seems to be working... ish, there are other issues there. been banging my head against a wall for the last few hours. seems to only be recent builds, i assume ios 12 sdk? |
I don't know obj-c but i beat it with a rock until i got something that fixes it, at-least in my use case. hope this helps https://gist.github.com/cokeeffekt/08e43798890ccde032b76ab7c105adcf |
Just as a heads up, we don't support this plugin if you don't use Ionic. The reason is because Ionic Framework also has logic for keyboard interaction that you don't get without it. I'm not trying to force you to use Ionic but it's not as simple as just using this plugin. They both work together to achieve proper keyboard operation. |
So the above workaround of downgrading to 2.0.5 seems to have broken when using iOS 12. I know your post isn't probably directed to me @mlynch but I am indeed using Ionic. |
And since of iOS 12 also with
|
Hi team - I'm working with a community member who is having this issue. So far they're only seeing this behavior on devices running ios 12, and have been unable to reproduce on an emulator. |
+1 |
2019 and still is a problem... |
Indeed, fighting this for a day already. No solution yet. |
Downgrading has @Alex0x47 suggested is the only solution which worked for me |
That's a pity. Any news from the Ionic team? I already spent way too much time on this... |
I tried @Alex0x47 solution but I get the following errors:
What can I do? |
@CharlieIGG can you provide a sample app where the issue can be reproduced? I couldn't reproduce on a new Ionic 4 app. For the rest of people commenting, specially to those not using ionic, |
"@ionic-native/keyboard": "^4.20.0", View not getting resized, can we get a fix? Our app depends on this feature to work because we have a textarea in ion-footer the content is not getting pushed up like it's suppose to be. |
Strongly recommending that, I use below (viewport-fit is the issue, ignore my other settings like width height etc, or use as is)
together with these, I also use cordova-plugin-statusbar and cordova-plugin-navigationbar-color for Android and cordova-plugin-webviewcolor for iOS, then I can set colors for top and bottom for both platforms (even transparent for ios and plugin also sets keyboard hue on iOS) |
@jcesarmobile sadly I missed your request and I'm just seeing this from a notification I got on the last comment. I no longer have access to the repo where I had this problem. Where I left we had to lock-on to the older version. I'm really hoping to never having to deal with Cordova ever again, plus I have nothing else I can contribute here, so I'm unsubscribing form this thread. I'm hesitant to close the issue, given that it also seems to affect other people and no definitive solution has been given, but feel free to close it if it matches your house-keeping criteria @jcesarmobile |
+1 Resize keyboard is not working for IOS 13 (13.2 specially) i have tried with v 2.2.0 and 2.1.3 both. |
same here |
Same issue here. At first it only pushed up the footer, which is useless in my case. |
Hi!
For some reason the view is not resizing on iOS for me.
I installed
cordova-plugin-ionic-keyboard
and I already havecordova-plugin-ionic-webview
in my plugins.I of course have the following in my
config.xml
:I also tried using
native
as the value forKeyboardResizeMode
, all to no avail.Any tips?
EDIT - funnily though I have another ionic project with the same config (AFAIK) and there resizing does work.
The text was updated successfully, but these errors were encountered: