Skip to content
This repository was archived by the owner on Apr 2, 2018. It is now read-only.

Commit 90cec57

Browse files
committed
force hideKeyboardAccessoryBar for now
1 parent 7b9915d commit 90cec57

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/ios/IonicKeyboard.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
@property (readwrite, assign, getter = hideKeyboardAccessoryBar, setter = setHideKeyboardAccessoryBar:) BOOL hideKeyboardAccessoryBar;
99
@property (readwrite, assign) BOOL keyboardIsVisible;
1010

11-
- (void) hideKeyboardAccessoryBar:(CDVInvokedUrlCommand*)command;
11+
//- (void) hideKeyboardAccessoryBar:(CDVInvokedUrlCommand*)command;
1212
- (void) close:(CDVInvokedUrlCommand*)command;
1313

1414
@end
15-

src/ios/IonicKeyboard.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ - (void)pluginInitialize
1414
__weak IonicKeyboard* weakSelf = self;
1515

1616
weakSelf.webView.scrollView.scrollEnabled = NO;
17+
18+
//Until disabling the auto-scroll in iOS 7 works
19+
self.hideKeyboardAccessoryBar = YES;
1720

1821
_keyboardShowObserver = [nc addObserverForName:UIKeyboardWillShowNotification
1922
object:nil
@@ -70,6 +73,7 @@ - (void)dealloc
7073

7174
/* ------------------------------------------------------------- */
7275

76+
/*
7377
- (void) hideKeyboardAccessoryBar:(CDVInvokedUrlCommand*)command
7478
{
7579
id value = [command.arguments objectAtIndex:0];
@@ -79,6 +83,7 @@ - (void) hideKeyboardAccessoryBar:(CDVInvokedUrlCommand*)command
7983
8084
self.hideKeyboardAccessoryBar = [value boolValue];
8185
}
86+
*/
8287

8388
- (void) close:(CDVInvokedUrlCommand*)command
8489
{
@@ -89,3 +94,4 @@ - (void) close:(CDVInvokedUrlCommand*)command
8994
@end
9095

9196

97+

0 commit comments

Comments
 (0)