MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Webview2 window disappear when switch to high contrast mode

Open
#3,614 2 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

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

Description

Description

I write sample (see attached source code) to show https://www.baidu.com/ in a webview2 over another https://www.sina.com.cn/ webview2, then switch back and forth high contrast mode(Black/White), I notice that baidu webview2 will disappear.
WpfAppWebView2.zip

Version
SDK: 1.0.1418.22
Runtime: 114.0.1823.67
Framework: WPF
OS: Win10

Regression
Was this working before but has regressed? no
If yes, what version did this last work on?

Repro Steps

Run attached demo and switch to contrast mode (Black/White)

Screenshots
image

Additional context

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.