Skip to content
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

WinUI: NavigationPage transitions show white window/background behind content #11809

Open
ArrowCase opened this issue Dec 1, 2022 · 3 comments
Labels
area-navigation NavigationPage migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@ArrowCase
Copy link

Description

When using PushAsync and PopAsync to transition with NavigationPage on Windows 10, a white background appears at the edges of the window where the transition is occurring. This area is always white even when the content page has a different background color or a background image.

00
01

2022-12-01.17-43-24.mp4

Steps to Reproduce

  1. Create a new MAUI app
  2. Replace MainPage = new AppShell() with MainPage = new NavigationPage(new MainPage()) in App.xaml.cs
  3. Add a second content page and give both pages a background color other than white
  4. Write event handlers in the code behind to allow navigating between the two pages with App.Current.MainPage.Navigation.PushAsync/PopAsync

Expected behavior: The transition animation is seamless.

Actual behavior: A white background is visible during the transition.

NOTE: The linked repro project is passing animated: false to PushAsync/PopAsync because of another bug report I'm filing. You can change it to animated: true, but the white background is visible either way (due to the other bug).

Link to public reproduction project repository

https://github.com/ArrowCase/TestMauiTransition

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows SDK 10.0.19041.0

Did you find any workaround?

None.

Relevant log output

No response

@ArrowCase ArrowCase added the t/bug Something isn't working label Dec 1, 2022
@PureWeen PureWeen added this to the Backlog milestone Dec 8, 2022
@ghost
Copy link

ghost commented Dec 8, 2022

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

@homeyf homeyf added the s/triaged Issue has been reviewed label Jul 27, 2023
@homeyf
Copy link

homeyf commented Jul 27, 2023

Verified this issue with Visual Studio Enterprise 17.7.0 Preview 4.0. Can repro on Windows platform with sample project.
https://github.com/ArrowCase/TestMauiTransition
demo3

@homeyf homeyf added the s/verified Verified / Reproducible Issue ready for Engineering Triage label Jul 27, 2023
@samhouts samhouts added migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert and removed area/migration 🚚 labels Aug 28, 2023
@RuddyOne
Copy link

RuddyOne commented Jul 3, 2024

Dare I ask if this is going to be fixed? The UX is horrible for users seeing this.

I'm going to guess it being a windows issue that this issue will forever be stuck here. Reported at the end of 2022 by the way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-navigation NavigationPage migration-compatibility Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert platform/windows 🪟 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants