WebView2 doesn't expose NewWindowRequested event
See original GitHub issueDescribe the bug
The NewWindowRequested
event from WebView (1) and the underlying WebView2 API is not exposed to the XAML based WebView2. ☹
Expected behavior
NewWindowRequested
event is on WebView2 XAML control.
Version Info NuGet package version: WinUI 3 Preview2
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
WebView2 NewWindowRequested missing windowName ...
The NewWindowRequested event is raised after WebView2 applies the logic for the window name. That is, if the window name is for an...
Read more >CoreWebView2.NewWindowRequested Event
NewWindowRequested is raised when content inside the WebView requests to open a new window, such as through window.open().
Read more >WebView2 Win32 C++ ICoreWebView2 | Microsoft Learn
WebView2 enables you to host web content using the latest Edge web browser ... Add an event handler for the NewWindowRequested event.
Read more >ICoreWebView2 in webview2_sys - Rust
WebView2 enables you to host web content using the latest Microsoft Edge browser and web ... Add an event handler for the NewWindowRequested...
Read more >Microsoft.Web.WebView2.1.0.864.35\net45 ...
MoveFocusRequested"/> event is raised, the focus is still on WebView when <see cref="E:Microsoft.Web.WebView2.Core.CoreWebView2Controller.MoveFocusRequested"/> ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
With the recently released WinUI Preview3, this is now exposed as WebView2.CoreWebView2.NewWindowRequested.
The work to expose the CoreWebView2 WinRT APIs with its full capabilities is starting now (internal task). And, we have another more specific task to ensure NewWindowRequested works (internal task).