Skip to content
This repository was archived by the owner on Jun 3, 2021. It is now read-only.

Commit c4847bb

Browse files
doumafangwqyfavor
authored andcommitted
[iOS] fix scrollEnd can not get offset (#1729)
1 parent 0b6cfec commit c4847bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/sdk/WeexSDK/Sources/Component/WXScrollerComponent.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ - (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL
903903
}
904904
if (!decelerate) {
905905
_isScrolling = NO;
906-
[self performSelector:@selector(scrollViewDidEndDecelerating:) withObject:nil afterDelay:0.1];
906+
[self performSelector:@selector(scrollViewDidEndDecelerating:) withObject:scrollView afterDelay:0.1];
907907
}
908908

909909
NSHashTable *delegates = [_delegates copy];

0 commit comments

Comments
 (0)