Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
I just updated my project to Xamarin Forms 2.4 and my TapGestureRecognizers I had added to all my Frames are not firing at all. I downgrade to Xamarin Forms 18.104.22.1680 and they work just fine. They don't fire on iOS and Android. I don't think I am doing anything super fancy. They are just on a content page inside a stack layout. See my code snippet below. BtnLogin is a readonly Frame with some text and icon.
var loginTap = new TapGestureRecognizer();
loginTap.Tapped += LoginTap_TappedAsync;
Created attachment 25044 [details]
I've been trying to reproduce your issue, but so far I haven't been successful. I've attached a repro project which I think matches what you describe, but the tap gestures *are* firing. Could you take a look and tell me what I'm missing?
Cameron, I reported a similar issue, but in my case, I found out that the gesture recognition just got super brittle. If you try tapping really just with your fingertip, with a 90% angle and very quickly, do your events fire?
In my case, it's that "micro-swipes" are no longer registered as taps, I have to really be super-careful with tapping, and then the recognizer fires.
(In reply to Philipp Sumi from comment #2)
> Cameron, I reported a similar issue, but in my case, I found out that the
> gesture recognition just got super brittle. If you try tapping really just
> with your fingertip, with a 90% angle and very quickly, do your events fire?
> In my case, it's that "micro-swipes" are no longer registered as taps, I
> have to really be super-careful with tapping, and then the recognizer fires.
Can you run the attached project and tell me whether you're seeing the same issue?
(In reply to E.Z. Hard from comment #3)
Hi E.Z. I downloaded and ran your project and it worked for me. The only difference between mine and yours is that I am running v 22.214.171.124 for Xamarin.Android.Support packages.
(In reply to Philipp Sumi from comment #2)
I am using the visual studio emulator for android on windows with a mouse and it was not working.
Created attachment 25062 [details]
Repro attempt using support libraries v25
I've uploaded a version of my repro project using the 126.96.36.199 support libraries. I appears to still be working - does that version of the project work for you?
(In reply to E.Z. Hard from comment #6)
Yes that does work for me. In my project though I have a static helper class that generates the Frame for me. Is that why it doesn't work? It worked in earlier versions.
I have exactly the same issue and it seems to be ANDROID related - whereby Tap Gestures tied to :
used to work in XF 188.8.131.520 without any problems.
Now its a pain to try and interact with the app - previously you could just take your finger and LITERALLY tap on ANY view that had a GR attached, now the only way to get this working is you CANNOT tap, you have to PRECISELY lower your finger onto the control that has GR enabled and gently press the control ....
I'm testing on a LIVE device (Samsung S8+) , not simulators as simulators with mouse gesture will not show you properly the issue.
All GR in our app are XAML based - absolutely zero codebehind for GR's.
Furthermore, all popup windows that we use which allow the popup to be dismissed by touching the background parent contentview no longer work , i.e we cannot dismiss the window - only way to do this is to use the hardware backbutton.
Android support libs are 25.3.1 respectively.
Downgrading to XF 184.108.40.2060 works perfectly.
This appears to be another manifestation of https://bugzilla.xamarin.com/show_bug.cgi?id=59961.
*** This bug has been marked as a duplicate of bug 59961 ***