You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/11/14 22:18:11 UTC
git commit: CB-5373 Fix HideKeyboardFormAccessoryBar work when
UIWebView is not at (0, 0)
Updated Branches:
refs/heads/master a1cbf99ac -> e1b942e60
CB-5373 Fix HideKeyboardFormAccessoryBar work when UIWebView is not at (0,0)
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugins/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugins/commit/e1b942e6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugins/tree/e1b942e6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugins/diff/e1b942e6
Branch: refs/heads/master
Commit: e1b942e60d3ad01ba48224f1d51595c3ad2e322b
Parents: a1cbf99
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Nov 14 16:15:37 2013 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Nov 14 16:18:06 2013 -0500
----------------------------------------------------------------------
keyboard/src/ios/CDVKeyboard.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/e1b942e6/keyboard/src/ios/CDVKeyboard.m
----------------------------------------------------------------------
diff --git a/keyboard/src/ios/CDVKeyboard.m b/keyboard/src/ios/CDVKeyboard.m
index ada6082..c0d8386 100644
--- a/keyboard/src/ios/CDVKeyboard.m
+++ b/keyboard/src/ios/CDVKeyboard.m
@@ -228,7 +228,7 @@
- (void)formAccessoryBarKeyboardWillHide:(NSNotification*)notif
{
// restore the scrollview frame
- self.webView.scrollView.frame = self.webView.frame;
+ self.webView.scrollView.frame = CGRectMake(0, 0, self.webView.frame.size.width, self.webView.frame.size.height);
}
// //////////////////////////////////////////////////