You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The WebView2CompositionControl works as expected when in the first TabItem of a WPF TabControl but in other tabs it does not display anything.
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Prerelease (Edge Canary/Dev/Beta)
Runtime Version
130.0.2849.80
SDK Version
2950.0
Framework
WPF
Operating System
Windows 11
OS Version
10.0.22631 Build 22631
Repro steps
I have attached a small solution that shows that problem - the WebView2CompositionControl in the first tab works without issue - the WebView2CompositionControls in the 2nd and 3rd tab fail to display anything. Here are some things I noticed:
Events/Code for the WebView2CompositionControls in the 2nd and 3rd tab continue to work - in a more complicated application all events seemed to fire, but nothing was displayed
There is no exception thrown
In this application if you swap all of the WebView2CompositionControls for WebView2 controls the app works as expected
I've been following #286 but haven't noticed any problems/work arounds/limitations mentioned that indicate in WPF this scenario should work with WebView2 but not WebView2CompositionControl.
What happened?
The WebView2CompositionControl works as expected when in the first TabItem of a WPF TabControl but in other tabs it does not display anything.
Importance
Important. My app's user experience is significantly compromised.
Runtime Channel
Prerelease (Edge Canary/Dev/Beta)
Runtime Version
130.0.2849.80
SDK Version
2950.0
Framework
WPF
Operating System
Windows 11
OS Version
10.0.22631 Build 22631
Repro steps
I have attached a small solution that shows that problem - the WebView2CompositionControl in the first tab works without issue - the WebView2CompositionControls in the 2nd and 3rd tab fail to display anything. Here are some things I noticed:
I've been following #286 but haven't noticed any problems/work arounds/limitations mentioned that indicate in WPF this scenario should work with WebView2 but not WebView2CompositionControl.
WebView2CompositionControlInTabs.zip
Repros in Edge Browser
No, issue does not reproduce in the corresponding Edge version
Regression
No, this never worked
Last working version (if regression)
No response
AB#55205081
The text was updated successfully, but these errors were encountered: