xamarin/Xamarin.Forms

[Bug] MasterBehavior.SplitOnLandscape cause Master/menu button didn't display

Aperta

#5937 aperta il 17 apr 2019

 (0 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
e/2 :clock2:good first issuehelp wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Description

When i set MasterBehavior = MasterBehavior.SplitOnLandscape; You might see it is missing the Master/menu button(or the hamburger button)

Steps to Reproduce

  1. create Xamarin.Forms Solution which use Master-Details
  2. add MasterBehavior = MasterBehavior.SplitOnLandscape; in MainPage
  3. run the Solution,and rotate it to landscape 4.click the listview's item to entry details page 5.rotate the device to portrait mode on this page 6.click the back button

Expected Behavior4

it works well

Actual Behavior

the Menu/Master button on the top left couldn't display

Basic Information

  • Version with issue: XF 3.6.0.293080.
  • Last known good version:
  • IDE:
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP:
  • Android Support Library Version:
  • Nuget Packages:
  • Affected Devices:

Screenshots

https://i.stack.imgur.com/UvaTX.gif

Reproduction Link

https://stackoverflow.com/questions/55530606/xamarin-forms-unwanted-behavior-of-master-detail-menu-hamburger-button?noredirect=1#comment97835344_55530606

Guida contributor