MMParallaxView
MMParallaxView copied to clipboard
horizontal scrolling in bottomView
Hi.
I use collectionView in bottomView and one cell supports horizontal scrolling. When I do horizontal scroll in that cell, the startAnimate(isUp: Bool) fires and animate between up and down states. is it possible to support horizontal scroll in bottomView without that problem? I think something is happening with UIPanGestureRecognizer
same problem here
hey @billidani7 if you want a quick fix for the horizontal scroll inside bottomView you can change the behaviour of the gesture recogniser delegate:
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool
in my case I had a UICollectionView so I added this check:
if otherGestureRecognizer.view is UICollectionView {
return false
}