Skip to content

RC1 - NumberOfTapsRequired fails when greater than 2 (Xamarin.Forms legacy issue) #6407

Open
@Sergtek

Description

@Sergtek

Description

The NumberOfTapsRequired of a GestureRecognizers fails when it's greater than 2, I've tried it on both Android and Windows. This is an old Xamarin.Forms bug. It could be an opportunity to rescue it and fix it at the framework level.

Xamarin.Forms legacy issue:
xamarin/Xamarin.Forms#6976

<Image Source="dotnet_bot.svg">
    <Image.GestureRecognizers>
        <TapGestureRecognizer
                Tapped="OnTapGestureRecognizerTapped"
                NumberOfTapsRequired="3" />
  </Image.GestureRecognizers>
</Image>

Steps to Reproduce

Set the NumberOfTapsRequired of a GestureRecognizers to any number greater than 2 and you will see that the event is not executed.

Version with bug

Release Candidate 1 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android, Windows, I was not able test on other platforms

Affected platform versions

Windows 11, Android 10

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions