Xamarin.forms: [Bug] MacOS switching between details pages in MasterDetailPage causes Mac window to move up and down

Created on 12 Feb 2020  路  4Comments  路  Source: xamarin/Xamarin.Forms

Description

On XF MacOS switching between details pages in MasterDetailPage causes Mac Windows to move up and down (Also the app header seems to contract and expand.).

Steps to Reproduce

  1. Create a blank XF apps with XF 4.4.0.991640 NuGet package
  2. Add a template MasterDetailPage - Add a Coco Mac app
  3. Deploy, switch between details pages. The app windows shift up and down. I am deploying on macOS Mojave v10.14.6

Expected Behavior

The window to stay where it is, without moving.

Actual Behavior

Mac app window shift up and down (by 1-2cm) every time you switch the detail page out. Also the header seems to contract and expand.

Basic Information

  • Version with issue: XF 4.4.0.991640
  • Last known good version: unknown
  • IDE: VS for Mac 2019

Reproduction Link

AMDPMAC.zip

mdp 3 macOS bug up-for-grabs

Most helpful comment

@samhouts We parked Mac for some months and picked it up again using XF 5.0.0.1487-pre1 and this is not an issue anymore! (I haven't had a chance to confirm with the repo project but I assume it's not happening there either.)

All 4 comments

Hi, just realised it says in the documentation "A MasterDetailPage is designed to be a root page, and using it as a child page in other page types could result in unexpected and inconsistent behavior" which is prob the issue. However I am looking to split-screen in order to optimise the use of extra space on Desktop and tablet and my App's top-level menu looks best as a TabbedPage on mobile. I want to do same layout as this person -> https://stackoverflow.com/questions/54430692/implement-a-master-detail-page-inside-a-tabbed-page-in-xamarin-forms-with-prism. I'm wondering if this is bad practise or just not supported?

@samhouts We parked Mac for some months and picked it up again using XF 5.0.0.1487-pre1 and this is not an issue anymore! (I haven't had a chance to confirm with the repo project but I assume it's not happening there either.)

@HelenMamalaki, awesome!! closing this issue now as it seems to be resolved :)

Was this page helpful?
0 / 5 - 0 ratings