Navigation bar overlaps title bar when replacing MainPage for a maui Windows App #10710
Labels
area-navigation
NavigationPage
platform/windows 🪟
s/try-latest-version
Please try to reproduce the potential issue on the latest public version
t/bug
Something isn't working
Description
When an application transfers a login page to an AppShell page the title bar overlaps the Windows title bar:
Application.Current.MainPage = new AppShell();
This is a common scenario for many applications.
This has not worked in any previous maui versions or with the current .NET 7 RC1.
Steps to Reproduce
MainPage = new NavigationPage(new Login());
Link to public reproduction project repository
See above
Version with bug
6.0.486 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
Windows SDK 10.0.22000.0
Did you find any workaround?
No.
I tried not extending the app content into the Windows TitleBar (adding the code below to Platform/Windows/app.xaml.cs constructor):
This results in the TitleBar being clean but then the page title overlaps the flyout menu hamburger button.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: