dotnet / dotnet/maui

[Windows] Setting ModalPage background to transparent no longer displays the underlying view

Open
#7,450 9 comments 2 reactions 0 assignees View on GitHub
area-controls-modal platform/windows s/triaged t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

This behavior broke
https://github.com/xamarin/Xamarin.Forms/pull/8551

The reason here is that the modal page is now nested inside a NavigationView so we need to set some backgrounds on the WindowRootView to transparent so the underlying view can shine through

Work started here
https://github.com/dotnet/maui/tree/fix_winui_modal_transparent

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the fix_winui_modal_transparent branch and the WindowRootView and NavigationView background handling described in the issue. Reproduce a Windows ModalPage with a transparent background, then verify that the underlying view is visible while the modal is shown.

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
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.