Open berndartmueller opened 8 years ago
Any updates? i have the same problem, i believe this plugin has the fix for this issue https://github.com/apache/cordova-plugins/tree/master/keyboard it is missing some things that this plugin has to offer so i will wait for this plugin to fix, thanks!
+1
+1
+1
Anybody is maintaining this plugin? It's been over a month since this issue been logged, and it is a really simple fix...shouldn't take more than an hour total. Can you please add support to hiding the accessory bar for WKWebView along side UIWebView. Please let us know if there will not be future updates so we can find another plugin or write our own.
I should definitely made core. I might come. See https://twitter.com/shazron/status/680006584894799872
any updates?
Any updates? Really need this...we're about to go into production and this would be a life saver!
+1, WKWebView is standard going forward
+1
I have tried the suggested https://github.com/cjpearson/cordova-plugin-keyboard but it made the app to go blank.
would be awesome to have this implemented please :D
I just submitted a PR for this. I backported it from https://github.com/cjpearson/cordova-plugin-keyboard because I wanted to use this plugin (specifically, because keyboard height wasn't available in event triggers in https://github.com/cjpearson/cordova-plugin-keyboard).
Cheers! Mark
This directive fixed it for me:
.directive('form', function () {
return function () {
if (window.cordova && window.cordova.plugins.Keyboard && navigator.userAgent.match(/(iPod|iPhone|iPad)/)) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);
}
};
}
);
I've accomplished a different workaround on this.
angular.module('app')
.run(function($rootScope, $ionicPlatform, $ionicScrollDelegate){
$ionicPlatform.ready(function () {
if (window.cordova && window.cordova.plugins.Keyboard){
cordova.plugins.Keyboard.disableScroll(true); // This will prevent the view to bounce when inputs are on focus
}
});
$rootScope.$on('$ionicView.loaded', function () {
if (window.cordova && window.cordova.plugins.Keyboard) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false); // This makes the accessory bar visible and it only works when the view is loaded and DOM ready
}
});
window.addEventListener('native.keyboardshow', function () {
$ionicScrollDelegate.scrollBy(0, 1); //This will return focus to the current input once the keyboard slides-up in the view
});
};)
I want to hide accessory bar for both android and ios, but its not working. I am using ionic native keyboard plugin. with ionic 3
Hey guys,
I noticed that hideKeyboardAccessoryBar() does not work with the Telerik WKWebView Plugin. Can you please fix this issue?
https://github.com/Telerik-Verified-Plugins/WKWebView/issues/85#issuecomment-158388377
Thanks!