cordova-plugin-keyboard icon indicating copy to clipboard operation
cordova-plugin-keyboard copied to clipboard

Fix ios 12 black area when keyboard is showing and shrink param is true

Open costin-moraru opened this issue 6 years ago • 6 comments

https://github.com/cjpearson/cordova-plugin-keyboard/issues/82

costin-moraru avatar Jan 28 '19 10:01 costin-moraru

I've been trying to fix this bug with workarounds for a couple of days now. I've just tested this fix and its working perfectly - iOS 12, iPhone XS.

@costin-moraru Thanks a lot!

sinn1 avatar Jan 28 '19 23:01 sinn1

Do we know when this might be merged?

brian-g avatar Apr 18 '19 16:04 brian-g

still having a black screen here. How do i fix this?

Steco17 avatar Jul 08 '19 12:07 Steco17

I spent a fair amount of time digging into this today. The UIView and UIScrollView are both updated properly, but the problem comes from the UIWebBrowserView frame not updating. This is an internal class we can't touch directly.

Based on what I've read today, I would guess that there's an issue with one of the view constraints, or something regarding layout, however I'm not an expert in iOS development.

@Steco17 - I ended up using the WKWebView. Its a newer webview that is supposed to be faster, more up to date, etc. So far its worked as a drop-in replacement with zero issues for me. If you can switch to that, it may solve your problems.

disciplezero avatar Jul 08 '19 15:07 disciplezero

@disciplezero thanks am going to try WKwebview

Steco17 avatar Jul 09 '19 09:07 Steco17

Any updates on this issue? I tested on iOS 14.3 and still got the black background when Keyboard opens.

BrOrlandi avatar Feb 22 '21 17:02 BrOrlandi