Skip to content

MacCatalyst WebView keydown events are not captured #13934

@nicobarengo

Description

@nicobarengo

Description

On MacOS Ventura when using a WebView, key events are not captured so, for example using tab key to navigate between input fields is not working, also it's its imposible to read the keydown event from javascript.

Steps to Reproduce

  1. Create a new MAUI App and add a WebView pointing to https://www.toptal.com/developers/keycode or any other website
  2. Run the App in MacOS Ventura
  3. Use tab key to navigate between fields and verify that are not captured.

Link to public reproduction project repository

https://github.com/nicobarengo/webview_keydown

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

macOS

Affected platform versions

MacOS Ventura 13

Did you find any workaround?

No, but it works on older versions on MacOS

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Blazor ❤️ MAUIIssues in MAUI functionality that affect Blazor, but are not bugs in Blazor itselfarea-blazorBlazor Hybrid / Desktop, BlazorWebViewarea-controls-webviewWebViewexternalplatform/macosmacOS / Mac Catalysts/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions