-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting DefaultBackgroundColor on WebView2 affects Web add-ins #2856
Comments
@tiagoabreu thank you for your investigation, @oggy22 will help to investigate this, and we will add it to our backlog to correct. |
@oggy22 Is there any update on this issue? |
@tiagoabreu are you still facing this issue? |
No, because we applied a workaround where we created a background color for the web add-in, so if it happens it would not be noticeable. But with the repro steps you should be able to figure out if the issue is still there. |
Description
We have a VSTO add-in that uses WebView2. Setting the DefaultBackgroundColor on the WebView affects any web add-in loaded later.
Version
SDK: 1.0.1293.44
Runtime: 105.0.1343.53
Framework: WinForms
OS: Win10 21H2
Repro Steps
Notice how in the previous image the web add-in is red. That color was set by the VSTO add-in.
We provide a sample vsto add-in for Excel and a sample web-addin where the issue is easily verifiable.
The color is set in class Browser.designer.cs, line 38.
ExcelWebAddIn1Manifest.zip
SampleAddinWithWebView2.zip
The text was updated successfully, but these errors were encountered: