Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with snapping to View Item if a tap was detected in the iCarousel but not on a iCarousel View Item #635

Merged

Conversation

briananderson1222
Copy link
Contributor

Re-opened from #633 moving the commit to it's own branch to hopefully get this accepted.

Fixes an issue where if you tap outside of a carousel view item, but within the carousel (like at the end of the carousel) the scrolling will freeze in place and not snap to either the previous selected item or the one that was being scrolled to.

A little hard to explain, let me know if more information is needed here

@@ -2078,6 +2078,9 @@ - (void)didTap:(UITapGestureRecognizer *)tapGesture
[self scrollToItemAtIndex:self.currentItemIndex animated:YES];
}
}
else {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{ on the next line please.

@briananderson1222
Copy link
Contributor Author

@nicklockwood updated

nicklockwood added a commit that referenced this pull request Jul 8, 2015
…item

Issue with snapping to View Item if a tap was detected in the iCarousel but not on a iCarousel View Item
@nicklockwood nicklockwood merged commit 8eba603 into nicklockwood:master Jul 8, 2015
@nicklockwood
Copy link
Owner

Looks good. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants