Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/ios/CDVIonicKeyboard.m
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ - (void)pluginInitialize
NSLog(@"CDVIonicKeyboard: WARNING!!: Keyboard plugin works better with WK");
}

if (isWK) {
BOOL disabledAdjustScrollView = ![settings cordovaBoolSettingForKey:@"AdjustScrollView" defaultValue:YES];

if (isWK && disabledAdjustScrollView) {
[nc removeObserver:self.webView name:UIKeyboardWillHideNotification object:nil];
[nc removeObserver:self.webView name:UIKeyboardWillShowNotification object:nil];
[nc removeObserver:self.webView name:UIKeyboardWillChangeFrameNotification object:nil];
Expand Down