WebView2 content is unexpectedly rendered in dark mode when Windows in dark mode
github.com·6h·
Discuss: Hacker News
Flag this post

What happened?

Since the 142.0.3595.11 beta version of the runtime content inside the WebView2 browser is suddenly rendered in dark mode when Windows is set to dark mode whereas this was not the case in earlier (beta) versions of the runtime.

Please revert this change as it is unexpected, we should be in control of whether we support dark mode as application developers. Furthermore, I tested setting the CoreWebView2Profile.PreferredColorScheme Property to Light and it still did not change this behavior.

Importance

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

Runtime Channel

Prerelease (Edge…

Similar Posts

Loading similar posts...