Created attachment 12386 [details]
After calling NavigationBar.SetHasNavigationBar(this, false) in the constructor of Page1, navigating to Page2 causes the layout of Page1 to shift upward during the transition and create a white bar at the bottom. Navigating back from Page2 to Page1 causes the layout of Page2 to shift downward, though Page1 appears correctly.
I have attached a sample project to demonstrate this behavior. It occurs in the simulator and on my iPhone 5 running iOS 8.4.
Here is some additional information about my development system:
=== Xamarin Studio ===
Version 5.9.4 (build 5)
Installation UUID: 8c94bf96-c9b2-4ddc-a87c-1651d3fe4e5d
Mono 4.0.2 ((detached/c99aa0c)
GTK+ 2.24.23 (Raleigh theme)
Package version: 400020005
=== Xamarin.Android ===
Version: 22.214.171.124 (Starter Edition)
Android SDK: /Users/david/Development/SDKs/Android
Supported Android versions:
2.3 (API level 10)
4.0.3 (API level 15)
4.3 (API level 18)
4.4 (API level 19)
5.0 (API level 21)
Java SDK: /usr
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
=== Xamarin Android Player ===
=== Apple Developer Tools ===
Xcode 6.4 (7720)
=== Xamarin.iOS ===
Version: 126.96.36.199 (Indie Edition)
Build date: 2015-06-30 15:19:13-0400
=== Xamarin.Mac ===
=== Build Information ===
Release ID: 509040005
Git revision: 8010a90f6e246b32364e3fb46ef2c9d1be9c9a2b
Build date: 2015-06-08 16:52:06-04
Xamarin addins: 7e93e9c3503f28770f23ce1b7eafd829919f18e8
=== Operating System ===
Mac OS X 10.10.2
Darwin Davids-Mac-mini.local 14.1.0 Darwin Kernel Version 14.1.0
Mon Dec 22 23:10:38 PST 2014
Confirming it appears to occur when using Forms 188.8.131.5292.
There is still not fix in
Xamarin Studio: 5.10.2 (build 56)
Xamarin iOS: 184.108.40.206
Xamarin Android: 220.127.116.11
Does anyone have a work around for this? Doesn't look like this bug is getting fixed anytime soon.
still not fixed on forms 2.3
On Android, I'm seeing a similar (bad behavior):
* content of page1 is shifted down
* the navbar of page2 is displayed on top of page1's content
* the content of page2 replaces the content of page1.
Makes my app look like a prototype - it looks so bad that i reintroduced the navbar and sacrificied the clean look of my main/home page.
2017 and still not fixed?? Boys, pleaaase... Agree with everything what Philipp Sumi said. I am so sad right now.
Looks correct on iOS with Forms 18.104.22.168. https://www.screencast.com/t/81tAx4tBJ
It's Android where it's bad, it's okay in UWP as well.
In your screencast, the white bar doesn't appear at the bottom, but the layout of Page 1 still shifts upward before the transition. So it appears iOS is affected, as well.
On iOS still shifts, David. Try to put some content align bottom on your page 1.
*** Bug 55846 has been marked as a duplicate of this bug. ***
@NMackay (or anyone else experiencing this issue in Android): Can you please attach a reproduction project that demonstrates this issue on Android? Are you using the AppCompat backend?
Should be fixed on 2.3.6-pre1
I confirm the same bug in Windows 10 UWP (mobile emulator and physical device).
Tested in 22.214.171.1242
Confirmed on Android and iOS.
Juan José Requena Alcalá: Confirmed that the bug still exists or confirmed that it is now fixed?
I tested on Android. Although the transition got better overall, I have seen the following artifact: When transitioning from a page with navigation bar to a page with no navigation bar, I first see the title in the navigation bar change to reflect the title of the second page (which it shouldn't) and then the second page opens full screen (as it should).
(I tested on Samsung Galaxy S3, so it might be better if you could confirm it on a similar hardware. May be newer phones would be faster and make it harder to notice.)