Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Xamarin.forms Pinch gesture to zoom inside a carousel - conflict swipe/pan

$
0
0

Hi,
After weeks of try and fix, i was able to have a working pinch gesture on an image inside a carousel page. Now the last problem i have is that the carousel catches the pan gestures on the zoomed image as a pinch navigation gesture and slides to the next image. My approach is to ignore gestures on the carousel as long as the image inside is zoomed. Pushing the user to zoom out to the normal scale and than swipe to the next page.
How can i achieve this knowing that the InputTransparent disables gestures for both the carousel and its children ?

PS: This behaviour happens only on Android. On IOS it's working as wanted.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>