-
Notifications
You must be signed in to change notification settings - Fork 141
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
Using Shuffle in UITableView/UICollectionView #56
Comments
Hey @andre991! Thanks for reporting this issue, I will work on publishing a fix. In the meantime, you can try the following: for each func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
guard let panGestureRecognizer = gestureRecognizer as? UIPanGestureRecognizer else { return true }
let velocity = panGestureRecognizer.velocity(in: view)
return abs(velocity.x) > abs(velocity.y) // return true only if pan gesture is more horizontal than vertical
} Let me know if that solves your issue for now. I will let you know once the actual fix is out! |
Hi @mac-gallagher, thanks for this solution!!! Worked perfectly! This framework is awesome!! Congratulations! 👏🏻👏🏻👏🏻👏🏻 #StayHome |
Hey @andre991 - added support for this in version 0.2.2. Cheers! |
Describe the bug
TableView and CollectionView don't scroll vertically if the shuffle is in any cell.
To Reproduce
Steps to reproduce the behavior:
Add SwipeCardStack inside TableViewCell/CollectionViewCell and scroll tableView vertically.
Expected behavior
If I chose to move horizontally, Shuffle don't be able to scroll vertically.
The text was updated successfully, but these errors were encountered: