title: Xamarin TapGestureRecognizer sometime does not work properly
body: <p>I am currently building my mobile application using Xamarin.Forms and i encountered a problem (on both platform of ios and android) when i tried to use <a href="https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/gestures/" rel="nofollow noreferrer">Xamarin.Forms gestures</a> more particularly a <a href="https://docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/gestures/tap" rel="nofollow noreferrer">tap gesture</a> on a xaml <strong>Label</strong>. Because i want to use this label as a link.</p>
  
  <p>The problem is that this tab gesture that i used does <strong>not work sometime</strong> ( approximately 5 times test = 1 time bug). </p>
  
  <p>During DEBUG when the problem occured i see that the tabbing is still recognized but it did not respond in the action i set up.</p>
  
  <p>It occurs on both iOS and Android devices.</p>
  
  <p>Here is my XAML code:</p>
  
  <pre><code>&lt;RelativeLayout&gt;
      &lt;Image Source="icon_question" WidthRequest="15" HeightRequest="15"&gt;&lt;/Image&gt;
      &lt;Label Margin="15, -3, 0, 0" HorizontalOptions="CenterAndExpand" HorizontalTextAlignment="Center" 
             Text="Some text" TextColor="Blue" FontSize="15"  TextDecorations="Underline"&gt;
          &lt;Label.GestureRecognizers&gt;
              &lt;TapGestureRecognizer Tapped="_tabLinkForgetPassword"&gt;&lt;/TapGestureRecognizer&gt;
          &lt;/Label.GestureRecognizers&gt;
      &lt;/Label&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>and here is my code behind:</p>
  
  <pre><code>private void _tabLinkForgetPassword(object s, EventArgs e)
  {
    App.Current.MainPage = new ResetPasswordPage(false);
  }
  </code></pre>
  
  <p>I expect that the tab respond everytime, not just sometime like this. I appreciate all your help.</p>