You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by cx...@apache.org on 2018/11/09 08:37:43 UTC
[incubator-weex] branch master updated: [iOS] fix scrollEnd can not
get offset (#1729)
This is an automated email from the ASF dual-hosted git repository.
cxfeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex.git
The following commit(s) were added to refs/heads/master by this push:
new c83cab1 [iOS] fix scrollEnd can not get offset (#1729)
c83cab1 is described below
commit c83cab10a7e5137a3aa4624854f1907f58de47b4
Author: Douma Fang <do...@gmail.com>
AuthorDate: Fri Nov 9 16:37:39 2018 +0800
[iOS] fix scrollEnd can not get offset (#1729)
---
ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.mm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.mm b/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.mm
index dfe8824..a278202 100644
--- a/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.mm
+++ b/ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.mm
@@ -903,7 +903,7 @@ WX_EXPORT_METHOD(@selector(resetLoadmore))
}
if (!decelerate) {
_isScrolling = NO;
- [self performSelector:@selector(scrollViewDidEndDecelerating:) withObject:nil afterDelay:0.1];
+ [self performSelector:@selector(scrollViewDidEndDecelerating:) withObject:scrollView afterDelay:0.1];
}
NSHashTable *delegates = [_delegates copy];