Xamarin.forms: NavigationPage.SetHasNavigationBar bar is broken for TabbedPage(MasterDetailPage too?) on UWP

Created on 26 Nov 2018  路  6Comments  路  Source: xamarin/Xamarin.Forms

Description

There was an original issue for MasterDetailPage - it marked as closed however this issue is still persists atleast on TabbedPage (there are report in original issue that it is still broken for MDP too). Since the issue is not reopened yet I've created separate issue.
If you have ContentPage (with NavigationPage.SetHasNavigationBar=false) wrapped in Navigation page as child of TabbedPage - navigating to this page causes to show preserved space for NavigationBar (but bar itself is not visible).

Steps to Reproduce

  1. Run attached project.
  2. NavigationBar on the first tab is hidden.
  3. Navigate to the second tab.
  4. Navigate back to the first tab.

Expected Behavior

Navigation bar is not visible, there is no preserved space at the top of the page.
1

Actual Behavior

Navigation bar is not visible, there is preserved space at the top of the page.
2

Basic Information

  • Version with issue:
    3.4.0.1008975

  • IDE:
    Visual Studio 2017 15.9.0

  • Platform Target Frameworks:

    • UWP: 16299

TabbedPageNavBarIssue.zip

4 help wanted high impact UWP bug up-for-grabs

Most helpful comment

This issue happens on UWP with Xamarin.Forms 3.4 lastest stable. Also happens with WPF.
NavigationPage.SetHasNavigationBar = false, doesn't hide bar on MasterDetailPage.

All 6 comments

Have the same problem here

Same here, except on Android

This issue happens on UWP with Xamarin.Forms 3.4 lastest stable. Also happens with WPF.
NavigationPage.SetHasNavigationBar = false, doesn't hide bar on MasterDetailPage.

nobody here? such important issue

Have tested this old issue again, now on XF4.7, and am still seeing it in my app.

Was this page helpful?
0 / 5 - 0 ratings