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

WebView.Focused event works on Android, but not on iOS #5526

Closed
luczha opened this issue Mar 13, 2019 · 1 comment
Closed

WebView.Focused event works on Android, but not on iOS #5526

luczha opened this issue Mar 13, 2019 · 1 comment

Comments

@luczha
Copy link

luczha commented Mar 13, 2019

Description

Steps to Reproduce

I create a StackLayout which contains a WebView .And I set the Focused event.It works fine in Android but not works in iOS.
webView.Focused += WebView_Focused;

private void WebView_Focused(object sender, FocusEventArgs e)
{
    //do some thing            
}

I think it because of in native iOS platform.UIWebview and WKWebview do not support focus event( in native iOS we call becomeFirstResponder ).

So,is there a solution to solve it?

Expected Behavior

Actual Behavior

Basic Information

  • Version with issue:

  • Last known good version:

  • IDE:

  • Platform Target Frameworks:

    • iOS: iOS 11.4
  • Android Support Library Version:

  • Nuget Packages:

  • Affected Devices:

Screenshots

Reproduction Link

@samhouts
Copy link
Contributor

Duplicate of #5616

@samhouts samhouts marked this as a duplicate of #5616 Mar 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants