cordova-custom-keyboard
cordova-custom-keyboard copied to clipboard
Feature Request: Close Button above Keyboard
Hi,
would it be possible to add close button above the keyboard like on html inputs as in here here:
Any help would be really appreciated.
i not have enogh time for testing, try to add "[hiddenTextView setReturnKeyType:UIReturnKeyDone];" after https://github.com/mnill/cordova-custom-keyboard/blob/master/src/ios/CDVCustomKeyboard.m#L16
It it resolve your issue?
No, it doesn't.
hiddenTextView = [[UITextView alloc] init];
hiddenTextView.returnKeyType = UIReturnKeyDone;
Changes nothing. Additionaly the keyboard shows and hides right away and there's no chance to use it.
any update on this?
Any solution for this?
I fail to find solution.
Perhaps if this plugin had the option to shrink the view when the keyboard appeared then you could make a toolbar appear in the dom along the bottom so it would look like it was above the keyboard. Or at least if we could tell the keyboard height reliably the same idea could be attempted.
For the keyboard height perhaps take influence from https://github.com/EddyVerbruggen/cordova-plugin-native-keyboard onKeyboardWillShow method