Hidden NavigationBar takes space

Hash6Hash6 USMember

Hello,
I have a problem with NavigationBar. I have a NavigationPage and I'm pushing a page (Page1) without Navigation Bar (using NavigationPage.SetHasNavigationBar(this, false);) and everything is fine. Next I'm pushing another page that has Navigation Bar. And after going bacnk to Page1 NavigationBar is hidden. but it still takes space (there is a empty space at the bottom of the Page1).
Anyone know how to fix this? I'm using Grid as Layout for Page1.

Answers

  • WilliamHWilliamH USMember

    Hi - I have been searching for a solution to that same problem for a couple of days now. Have you had any luck?

    I do not have the issue on iOS just android.

    I am using absolute, stack, and grid layouts. They all do the same thing.

    Steps:
    1) Page 1 loads w/o Navigation bar (with NavigationPage.SetHasNavigationBar(this, false) in constructor)
    2) Navigate to page 2 with a navigation bar
    3) Return to page 1 and there is a space on the bottom of page 1. (The whole layout visibly shifts up, leaving the space of the navigation bar at the bottom)

    Very frustrating. I have tried a lot of different things but everything produces the same results.

  • NeoKNeoK KRMember ✭✭

    Same problem here.

Sign In or Register to comment.