cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject git commit: CB-5373 Fix HideKeyboardFormAccessoryBar work when UIWebView is not at (0, 0)
Date Thu, 14 Nov 2013 21:18:11 GMT
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 <agrieve@chromium.org>
Authored: Thu Nov 14 16:15:37 2013 -0500
Committer: Andrew Grieve <agrieve@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);
 }
 
 // //////////////////////////////////////////////////


Mime
View raw message