MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Webview2 browser popup window is not coming in front

Open
#2,284 17 comments 2 reactions 1 assignee View on GitHub

@champnic is already working on this.

Since Mar 23, 2022.

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

Description

Description
Popup window is not getting focus.

Version
SDK: 1.0.1054.31
Runtime: 99.0.1150.39
Framework: WPF and .NET framework 4.8
OS: Windows 10
Web page have multiple links. When we click on the link it will open popup window and same popup window will be reused for other links. Issues is popup window is not focused when click on links which will load the url in existing popup window.

Its working fine in IE and Chrome(98.0.4758.102 ) browsers. On clicking the link its brings the existing popup window to front and loads the url.

Adding bring to front code in newwindow requested event is not working as it will come only for first time.
please let us know if we need to set any property in webview2 or any event is available where we can add brig to front code.

Thanks.

AB#39483494

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.