Skip to content

WinForms - text input Autofocus not works #4965

Open
@I-Iege

Description

Is there an existing issue for this?

  • I have searched both open/closed issues, no issue already exists.

CefSharp Version

129.0.110

Operating System

Windows 11

Architecture

x64

.Net Version

.Net 6.0

Implementation

WinForms

Reproduction Steps

  1. We have a page with text input which set to focus on page load.
  2. open the url with sefsharp winform example browser

Expected behavior

The text input is in fully focused, it is possible to type text after the page loaded.

Actual behavior

The text input has focused style, but has no caret not possible to type.

Regression?

No response

Known Workarounds

No response

Does this problem also occur in the CEF Sample Application

Yes using WPF/OffScreen command line args

Other information

the text input is HTMLInputElement
the page build with node 22.9.0
we have :
"@types/react-dom": "^17.0.11",
"react-dom": "^17.0.2",

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions