NavigationPage.SetHasNavigationBar bar is broken for TabbedPage(MasterDetailPage too?) on UWP
#4,531 创建于 2018年11月26日
仓库指标
- 星标
- (5,644 个星标)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
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
- Run attached project.
- NavigationBar on the first tab is hidden.
- Navigate to the second tab.
- Navigate back to the first tab.
Expected Behavior
Navigation bar is not visible, there is no preserved space at the top of the page.

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

Basic Information
-
Version with issue: 3.4.0.1008975
-
IDE: Visual Studio 2017 15.9.0
-
Platform Target Frameworks:
- UWP: 16299