|Summary:||[WinRT] Setting a MasterDetailPage's IsPresented to false will not immediately update the layout to hide the Master on desktop|
|Severity:||normal||CC:||alexandre.bosquet, dominic, jas, jimmy.garrido, paul.dipietro, rui.marinho, sahou, v-sapaun|
|Tags:||ac||Is this bug a regression?:||---|
|Last known good build:|
Description Alex 2017-01-05 13:59:31 UTC
Created attachment 19096 [details] Repro solution With a master detail page if you resize the window of the app the menu disappears. Attached you can find a repro project 1. Set ResizeWinIssue.Windows as startup project 2. Run the app 3. Select "Page 2" menu 4. Try to expand the size of the window 5. The menu disappears.
Comment 1 Paul DiPietro [MSFT] 2017-01-18 22:10:35 UTC
IsPresented is being set to false in OnItemSelected. Not setting this value to false will stop that menu from disappearing when resizing the window. I believe there are conflicting statements in the docs. The issue you are facing with this reproduction is not that the menu is disappearing, but that it is not disappearing when the value is set, which is a separate issue in itself.
Comment 2 Alex 2017-01-20 14:10:23 UTC
Ok I see now.. IsPresented is set to false in our app to close the slide menu for iOS and Android phone. I can check the OS and Idiom to fix this. Thanks for your support
Comment 3 Alex 2017-01-20 14:13:12 UTC
But I would say you should implement the same behaviour in WinRt desktop that you have for iOS and Android tablet. IsPresented set to false has no effect to the menu.
Comment 4 Samantha Houts [MSFT] 2017-02-01 20:45:43 UTC
Comment 5 Rui Marinho 2017-03-03 12:58:45 UTC
Should be fixed in 2.3.5-pre1
Comment 6 Saurabh Paunikar 2017-07-06 11:03:26 UTC
On Xamarin.form version 188.8.131.526-pre6,observed that issue is not fixed.Hence reopening it ScreenCast link: https://www.screencast.com/t/yjTXjGsb
Comment 7 Jimmy [MSFT] 2017-07-11 23:16:36 UTC
I can confirm that this issue is still occurring in the Windows 8.1 project with 184.108.40.2066-pre6. Resizing the window still causes the Master page to close. The issue does _not_ occur on UWP.
Comment 8 Paul DiPietro [MSFT] 2018-03-02 17:08:36 UTC
Closing as WinRT/8.1 is no longer supported.