Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Unwanted Behavior of Master-Detail Menu/Hamburger button

$
0
0

Description

XF: 3.6.0.293080
Using the basic template for Master-Detail App with SplitOnLandscape MasterBehavior the menu/hamburger button does not work as expected. The button shows in the Landscape mode while it shouldn't and it gets hidden in the Portrait mode while we return back to the Detail page.

Steps to Reproduce

  1. Create a Master-Detail Forms app from the given templates.
  2. Add SplitOnLandscape as MasterBehavior.
  3. Launch the app in Portrait mode.
  4. At this point you should be able to see the Hamburger/Menu button clicking which should show the Menu/Master page.
  5. Change the orientation to Landscape which will hide the Hamburger/Menu button which is expected behavior.
  6. Now tap on any of the items on the Detail page which should take you to the item detail page. (at this point the orientation is still in Landscape)
  7. Now, change the orientation to Portrait mode and press back button.
  8. Now once you come back to the detail page you won't be able to see the Hamburger/Menu button in the navigation and the only way to show the drawer is to swift left-to-right.

Expected Behavior

The app should show the Hamburger/Menu button in the Navigation page in Portrait mode and should hide in Landscape.

Actual Behavior

The app looses the Hamburger/Menu button after coming back to the detail page while changing the device orientation while we drill down the Detail page item.

Basic Information

  • Version with issue: 3.6.0.293080
  • Last known good version:
  • IDE: Visual Studio Community (7.7.2 build 21)
  • iOS: 12.2

Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>