MicrosoftEdge / MicrosoftEdge/WebView2Feedback

[Problem/Bug]: input field of type text and name email loses focus

Open
#5,144 58 comments 14 reactions 1 assignee View on GitHub

@ambikakunnath is already working on this.

Since Mar 7, 2025.

bug regression tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

What happened?

Webview2 runtime version 134.0.3124.51
minimal webpage:

<!DOCTYPE html>
<html><body>
name email and type text loses focus
<form method="POST">
input name email, type text: <input type="text" name="email"/>
input name other than email, type text: <input type="text" name="notemail"/>

<input type="submit" value="Do something" class="dbapi_button">

</form>
	
</body></html>

click in first field will immediately lose the focus, second field works as expected.
with Webview2 Version 133.x it worked for both fields.

Importance

Important. My app's user experience is significantly compromised.

Runtime Channel

Stable release (WebView2 Runtime)

Runtime Version

134.0.3124.51

SDK Version

No response

Framework

Winforms

Operating System

Windows 11

OS Version

No response

Repro steps

please see above

Repros in Edge Browser

No, issue does not reproduce in the corresponding Edge version

Regression

Regression in newer Runtime

Last working version (if regression)

133.0.3065.92

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.