Skip to content

[iOS/MacCatalyst] TapGestureRecognizer.NumberOfTapsRequired is not reactive at runtime #38291

Closed

Description

@SuthiYuvaraj

Description

On iOS/MacCatalyst the UITapGestureRecognizer is created once with the initial value and never recreated, so the new value is silently ignored.

Steps to Reproduce

  • Run the attached sample MainPage.xaml.cs
  • Double-tap the pad → counter increments(initial value 2 works).
  • Press Set to 1 tap → label updates to NumberOfTapsRequired: 1.

Expected Behavior:
The tap gesture should be recognized on the first tap.

Actual Behavior
Tap recognition works only when the initial value is 2. A single tap is still not being recognized.

Link to public reproduction project repository

https://github.com/user-attachments/files/31920955/MainPage.xaml.cs

Version with bug

10.0.100

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

iOS, macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

Activity

  1. added
    t/bug
    on Sep 7, 2026
  2. added
    partner/syncfusion
    on Sep 7, 2026
  3. NirmalKumarYuvaraj commented on Sep 8, 2026

    @NirmalKumarYuvaraj
    Contributor

    This issue has been validated in Visual Studio Code 1.135.0 with .NET MAUI versions 10.0.00 and 10.0.100. It can be reproduced on iOS and macOS platforms.

  4. added
    s/verified
    s/triaged
    on Sep 8, 2026
  5. added this to the Backlog milestone on Sep 8, 2026
  6. added a commit that references this issue on Sep 11, 2026
  7. added 2 commits that reference this issue on Sep 13, 2026
  8. added a commit that references this issue on Sep 21, 2026
    1aa4552
  9. added 6 commits that reference this issue on Sep 27, 2026
    c73e3cb
    1fcb198
    3d92c4d
    ea4605f
    9bbf920
    c83618e
  10. kubaflo commented on Oct 10, 2026

    @kubaflo
    Contributor

    Thank you for the report and the investigation details. We are closing this as completed: existing native Apple tap recognizers, including wrapped span recognizers, now update when NumberOfTapsRequired changes at runtime.

    Supporting evidence: #38551 (merged into inflight/current).

    This records the merged source change; it does not imply that the fix is present in every released .NET MAUI package.

    If you can still reproduce the reported behavior in a build that includes the linked change, please comment here with the exact version and reproduction details so we can reopen and investigate. The existing reproduction and discussion remain available; a new issue is not required.

  11. added 6 commits that reference this issue on Oct 13, 2026
    add9c80
    3f52803
    83146a5
    99e31ab
    c2e4d3a
    7a409bd
  12. locked and limited conversation to collaborators on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-gesturespartner/syncfusionplatform/iosplatform/macoss/triageds/verifiedt/bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions