ContentPresenter Dialog Appears Behind WebView Loaded from Navigation
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 9.6k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
One of these pages contains a WebView, and that page has a button that triggers a custom dialog through a ContentPresenter defined in the MainWindow.The custom dialog appears behind the WebView. This only happens on pages containing the WebView; other pages work fine.
https://stackoverflow.com/questions/79527786/wpf-ui-contentpresenter-dialog-appears-behind-webview-loaded-from-navigation
To Reproduce
Create a page with webview and then show customdialog
Expected behavior
custom dialog should visible top of the window
Screenshots
No response
OS version
Win 11
.NET version
8.0
WPF-UI NuGet version
latest
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue on Windows 11 with .NET 8 and the latest WPF-UI version: create a navigated page containing a WebView and a button that opens the custom dialog. Inspect the MainWindow ContentPresenter and the page's WebView behavior; done means the dialog consistently appears above the WebView while other pages continue to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100