xamarin/Xamarin.Forms

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

开放

#5,937 创建于 2019年4月17日

 (0 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
e/2 :clock2:good first issuehelp wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南