[Android] TapGestureRecognizer do not fire the tapped event on "normal" tap/click.
#1628 aperta il 21 gen 2018
Metriche repository
- Star
- (5644 stelle)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
Bug report best practices: https://github.com/xamarin/Xamarin.Forms/wiki/Submitting-Issues
Description
On Android the TapGestureRecognizer do not fire the tapped event on "normal" tap/click. The finger is always sliding a little over the screen when you are tapping it, the TapGestureRecognizer have a very small "sliding"-tolerance. This makes the TapGestureRecognizer to only fire a tapped event if you click much more carefully than on a normal button.
Steps to Reproduce
- Device: Samsung SM-T580 (Galaxy Tab A)
- OS: Android 7.0
- Enable developer options: Show Touches and Show Pointer location.
Create any basic Xamarin.Forms project and apply a TapGestureRecognizer to any basic element (Text, StackLayout etc.)
Expected Behavior
The tapped event should be fired even if a little sliding occurs, just like normal buttons do.
Actual Behavior
No event is fired when a little sliding occurs, like it does on buttons.
Basic Information
- Version with issue: Xamarin.Forms 2.5.0.122203
- Platform Target Frameworks:
- Android: 7.0
- Android Support Library Version: Xamarin.Android.Support.v4 (26.1.0.1), Xamarin.Android.Support.v7.AppCompat (26.1.0.1)
- Affected Devices: Samsung SM-T580 (Galaxy Tab A)