CB-10155 - DisallowOverscroll not working
Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/8a187bff Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/8a187bff Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/8a187bff Branch: refs/heads/4.0.x Commit: 8a187bff65c55e6c0daf67b61c371f03234c2af5 Parents: c586fc2 Author: Shazron Abdullah <[email protected]> Authored: Mon Dec 14 15:32:15 2015 -0800 Committer: Shazron Abdullah <[email protected]> Committed: Tue Dec 15 16:59:42 2015 -0800 ---------------------------------------------------------------------- .../Private/Plugins/CDVUIWebViewEngine/CDVUIWebViewEngine.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/8a187bff/CordovaLib/Classes/Private/Plugins/CDVUIWebViewEngine/CDVUIWebViewEngine.m ---------------------------------------------------------------------- diff --git a/CordovaLib/Classes/Private/Plugins/CDVUIWebViewEngine/CDVUIWebViewEngine.m b/CordovaLib/Classes/Private/Plugins/CDVUIWebViewEngine/CDVUIWebViewEngine.m index ef0356c..c283e18 100644 --- a/CordovaLib/Classes/Private/Plugins/CDVUIWebViewEngine/CDVUIWebViewEngine.m +++ b/CordovaLib/Classes/Private/Plugins/CDVUIWebViewEngine/CDVUIWebViewEngine.m @@ -116,7 +116,7 @@ // prevent webView from bouncing if (!bounceAllowed) { - if ([self.webView respondsToSelector:@selector(scrollView)]) { + if ([uiWebView respondsToSelector:@selector(scrollView)]) { ((UIScrollView*)[uiWebView scrollView]).bounces = NO; } else { for (id subview in self.webView.subviews) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
