Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 18791 [details]
Sample Project with IsNavigationBarTranslucent Platform Specific
Attempting to set the new platform-specific used to change the transparency of the navigation bar does not work.
- Consuming as an attached property in the XAML
- Consuming using the fluent API in code.
This issue is present in the current release of Xamarin.Forms 22.214.171.124-stable.
Please see attached sample project for a repro.
Note: Further investigation and testing using a custom NavigationPage renderer, shows that setting NavigationBar.Translucent now has no effect in XF 2.3.3. Whereas previously this worked in XF 2.3.2!
It appears this may be related to a change in PR 301.
See new line 827:
EdgesForExtendedLayout = UIRectEdge.None
Using Reveal as a view debugger shows the Translucent property is being set on the NavigationBar, but the EdgesForExtendedLayout value is preventing the view from extending its layout to fill the whole screen.
Can you test it in 126.96.36.199?
Yes, this issue is also present in 188.8.131.52.
I can confirm it is the EdgesForExtendedLayout property in the NavigationRenderer.
The following workaround fixes the problem in the ViewWillAppear() method using a custom page renderer on iOS:
public override void ViewWillAppear(bool animated)
var parent = ParentViewController;
if (parent != null)
parent.EdgesForExtendedLayout = NavigationController.NavigationBar.Translucent
So, EdgesForExtendedLayout needs to be set dependent on the state of NavigationBar.Translucent.
See PR: https://github.com/xamarin/Xamarin.Forms/pull/621
Should be fixed in 2.3.4-pre1