Skip to content
This repository has been 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
Gayathri-github7 opened this issue Sep 1, 2021 · 2 comments
Labels
a/webview s/unverified New report that has yet to be verified t/bug 🐛

Comments

@Gayathri-github7
Copy link

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.

@Gayathri-github7 Gayathri-github7 added s/unverified New report that has yet to be verified t/bug 🐛 labels Sep 1, 2021
@jfversluis
Copy link
Member

Hey there! You mention a attached sample, but there doesn't seem to be one :) Could you still attach it? Thanks!

@Gayathri-github7
Copy link
Author

Hi,

Please find the sample from below,

CustomRenderer-2019035671.zip

Regards,
Gayathri R

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/webview s/unverified New report that has yet to be verified t/bug 🐛
Projects
None yet
Development

No branches or pull requests

3 participants