Open vsfeedback opened 2 years ago
As a workaround, I am able to do the following in the MainPage OnAppearing event: NavigationPage.SetHasNavigationBar(this, true); // this'll hide the title NavigationPage.SetHasNavigationBar(this, false); // this'll hide the title
Hey there, thanks for the report! What platform are we talking about here? :)
Platform I have been working on is Windows (since I can't run on Android due to TLS Handshake error when using Winsock). Also, I see this has been put in the Xamarin.Forms bucket, but I'm trying to work with .Net Maui so not sure it got put in the right bucket.
This issue has been moved from a ticket on Developer Community.
[severity:It's more difficult to complete my work] We don't use the shell in our apps. Instead, we do our own Navigation management via NavigationPage class:
In the MainPage constructor, we hide the NavigationBar before the call to InitializeComponent:
If we subsequently PushModalAsync to push a page, then PopModalAsync to pop the page, the MainPage now has a blank bar (presumably the NavigationBar at the top).
Original Comments
Feedback Bot on 5/1/2022, 08:37 PM:
(private comment, text removed)
Original Solutions
(no solutions)