Xamarin.forms: [UWP] No navigation bar on UWP when using version 3.1.0.637273

Created on 13 Jul 2018  路  3Comments  路  Source: xamarin/Xamarin.Forms

Description

On UWP, no navigation bar is shown with Forms version 3.1.0.637273. Works as expected on version 3.1.0.583944.

Steps to Reproduce

  1. Open Visual Studio and create a new Forms solution targeting UWP
  2. Update Xamarin Forms package to version 3.1.0.637273
  3. Add the following to create the first page:

    ```public partial class App : Application
    {
    public App()
    {
    InitializeComponent();
    var page = new ContentPage { BackgroundColor = Color.Blue, Title = "Page title" };
    MainPage = new NavigationPage(page);
    }
    }

  4. Run the UWP app

Expected Behavior

Page will show with a navigation bar displaying the page title

Actual Behavior

Page shows but there is no navigation bar and page title is not displayed

Basic Information

  • Version with issue: 3.1.0.637273
  • Last known good version: 3.1.0.583944.
  • IDE: Visual Studio 2017
  • Platform Target Frameworks:

    • UWP: 16299
  • Nuget Packages: Forms

  • Affected Devices: Windows 10 PC

Screenshots

Expected result:

screen shot 2018-07-13 at 10 49 21 am

Actual result:

screen shot 2018-07-13 at 10 51 30 am

regression UWP bug

Most helpful comment

Any chance to get a fix for this in 3.1? 3.2 seems too far away and still too buggy

All 3 comments

3298

Any chance to get a fix for this in 3.1? 3.2 seems too far away and still too buggy

FYI, this was released in the latest service release of 3.1. Thank you!

Was this page helpful?
0 / 5 - 0 ratings