Skip to content

Commit

Permalink
Don't fire tap for windows if control disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Redth committed Jun 17, 2024
1 parent 2063ef8 commit 4d93baf
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -608,6 +608,11 @@ void OnTap(object sender, RoutedEventArgs e)
if (view == null)
return;

if (!view.IsEnabled)
{
return;
}

var tapPosition = e.GetPositionRelativeToPlatformElement(Control);

if (tapPosition == null)
Expand Down

0 comments on commit 4d93baf

Please sign in to comment.