xamarin/Xamarin.Forms
在 GitHub 查看MasterDetailPage layout issues on iPhone X in landscape orientation
Open
#1,491 建立於 2018年1月2日
e/2 :clock2:good first issuehacktoberfest 🍻help wantedp/iOS 🍎t/bug :bug:up-for-grabs
描述
Description
On iPhone X in landscape orientation, the Master part of the Xamarin.Forms.MasterDetailPage is mislocated and partially cut off from display (as observed on iPhone X iOS 11.2 simulator).
Steps to Reproduce
- Open attached sample project
- Run project in iPhone X iOS 11.2 simulator --> app will initially show "Contacts Page" with menu icon in upper left corner
- Change device orientation to landscape
- Tap on menu icon to present Master part
Expected Behavior
- Master part should be located on the left-hand side of the screen (with some left margin to respect safe area guides)
- Master part should be fully visible and Detail part moved to the right accordingly (i.e. lorem ipsum text should be fully readable)
Actual Behavior
- Master part has a left margin which is too large (i.e. more than required by safe area guides)
- rather than being fully visible, Master part is cut off from display at the right edge (i.e. lorem ipsum text not fully readable)
Basic Information
- Version with issue: Xamarin.Forms 2.5.0.122203
- Last known good version: ?
- IDE: see attached text file with IDE information
Screenshots
First screenshot: portrait orientation, correct display

Second screenshot: landscape orientation, incorrect display
