1

I'm using Xamarin Forms and am trying to utilize swipe left and right for some paging. I found this link Xamarin Forms Swipe Left/Swipe Right Gestures and it had code to do this, but I ran into one problem with iOS.

Since I have a Grid inside of a ScrollView that I let scroll up and down with your finger, when I implement a PanGestureRecognizer for the grid inside the ScrollView, for iOS, the ScrollView no longer scrolls up and down. Android works fine.

Maybe the PanGestureRecognizer is not the way to go, but it is so close, I wondered if there were a way to bubble up the gesture so the ScrollView when running under iOS would function like android does.

1 Answer 1

1

Well, not elegant, but for iOS only, I controlled the scrolling manually in the PanUpdated event of the PanGestureRecognizer. Hopefully this will get identified as a bug and the workaround code can get removed later.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.