Skip to content

Commit

Permalink
Fix scrollToPageForIndex:animated: not triggering lifecycle actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ealeksandrov committed Nov 8, 2017
1 parent 6dfdd55 commit fa98a37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions EAIntroView/EAIntroView.m
Original file line number Diff line number Diff line change
Expand Up @@ -1048,6 +1048,7 @@ - (void)scrollToPageForIndex:(NSUInteger)newPageIndex animated:(BOOL)animated

if(!animated) {
[self scrollViewDidScroll:self.scrollView];
[self scrollViewDidEndScrollingAnimation:self.scrollView];
}
}

Expand Down

0 comments on commit fa98a37

Please sign in to comment.