xamarin-docs
xamarin-docs copied to clipboard
PinchToZoom with ListView or ScrollView does nothing
A more complex and real-world situation would really be nice in this example. Trying to use this in conjuction with other controls that take the Pan gesture seems to fail. ScrollView and ListView for example grab the Pinch gesture even though they themselves don't Pinch but they do scroll/pan. So it seems like Pinch inherits/uses that gesture so it is grabbed by the wrapped control. This seems to make Pinch a very niche feature that can only work on very static views of Label and Image for example, but nothing more complex.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: ddfae6f3-bfc3-da98-251f-4fe08b7f8e21
- Version Independent ID: a7a9ebc5-b663-7a19-dc0d-b8fd5050f7b7
- Content: Add a pinch gesture recognizer - Xamarin
- Content Source: docs/xamarin-forms/app-fundamentals/gestures/pinch.md
- Product: xamarin
- Technology: xamarin-forms
- GitHub Login: @davidbritch
- Microsoft Alias: dabritch