Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Bug] Tapped does not fire while customizing a WebView in Xamarin Forms #14557

Open
@ghost

Description

Description
Tapped does not fire while customizing a WebView in Xamarin Forms.

Steps to Reproduce

  1. Run the attached sample
    2.Tap on webview control.
  2. Tapped event is not trigged.

Code snippet:
var hybridWebView = new HybridWebView
{
Uri = "index.html"
};

var richTextEditorDoubleTapRecognizer = new TapGestureRecognizer();
richTextEditorDoubleTapRecognizer.NumberOfTapsRequired = 1;
richTextEditorDoubleTapRecognizer.Tapped += RichTextEditorDoubleTapRecognizer_Tapped;
hybridWebView.GestureRecognizers.Add(richTextEditorDoubleTapRecognizer);
Content = hybridWebView;

Expected Behavior
Tapped event should be trigged while tapping on WebView.

Actual Behavior
Tapped event is not trigged while tapping on WebView.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions