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

HideKeyboardFormAccessoryBar config preference does not work on iOS 10

Open nick-adriaenssens opened this issue 8 years ago • 12 comments

On iOS 10 the accessory bar is shown when the config preference HideKeyboardFormAccessoryBar is set to true. This is not as expected, accessory bar should not be shown. Tested on iPad 4 and iPad Pro.

On iOS 9 the config preference works as expected.

<preference name="HideKeyboardFormAccessoryBar" value="true"/>

nick-adriaenssens avatar Sep 29 '16 09:09 nick-adriaenssens

Unfortunately the only way to hide the accessory bar is pretty hacky and can break whenever Apple changes its implementation. Are you using the WKWebView plugin or UIWebView?

cjpearson avatar Oct 13 '16 12:10 cjpearson

@cjpearson I'm using the WKWebView plugin.

nick-adriaenssens avatar Oct 13 '16 12:10 nick-adriaenssens

any suggestions on this?

kevinverelst avatar Nov 10 '16 10:11 kevinverelst

iOS 10 has probably changed how WKWebView controls its accessory bar. It may be as simple as changing WKClassString to something other than WKContentView.

The WKWebView source code can be explored here. I just haven't been able to look into it yet.

cjpearson avatar Nov 11 '16 15:11 cjpearson

Does anyone still see this issue? I don't see it on a 10.2 simulator.

cjpearson avatar Jul 29 '17 00:07 cjpearson

Yes, is working on simulator, but not on real device.

undersieg avatar Oct 27 '17 07:10 undersieg

any suggestions on this?

qamoonsite avatar Feb 07 '18 15:02 qamoonsite

The same problem persists in iOS 13.4.1 Any ideas on how to fix it or solve it by other way?

beesop avatar Jun 03 '20 11:06 beesop

@beesop the solution is to switch to flutter

Semapl3 avatar Jun 03 '20 11:06 Semapl3

@Semapl3 why does flutter solve this problem? Why compiling with flutter allows to use HideKeyboardFormAccessoryBar with iPad compared to compiling cordova locally or compiling cordova with Appflow or compiling cordova with Monaca...? What does flutter do that the others don't?

beesop avatar Jun 03 '20 12:06 beesop

@beesop I consider Cordova = Winamp. This question is 2016. He is dead. (Sorry for my english)

Semapl3 avatar Jun 03 '20 12:06 Semapl3

@Semapl3 Cordova and its plugins is fully operational, thousands of apps in the stores are based on it today, if you do not use it, please do not assume that nobody does.

The question remains unanswered, in case someone who knows the answer is kind enough to help.

Thank you

beesop avatar Jun 04 '20 14:06 beesop