diff --git a/src/ios/CDVIonicKeyboard.m b/src/ios/CDVIonicKeyboard.m index e4615a8..ab8f13b 100644 --- a/src/ios/CDVIonicKeyboard.m +++ b/src/ios/CDVIonicKeyboard.m @@ -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];