Xamarin.forms: [Bug] [iOS] Xamarin Shell Flyout navigates incorrectly with more than 4 items

Created on 22 Oct 2020  路  5Comments  路  Source: xamarin/Xamarin.Forms

Description

If you use a Xamarin Shell flyout menu with more than 4 items on an iOS device, then selecting the 5th item or below will slide up the 'More' menu, requiring a second selection. This is not ideal behaviour.

On Android navigating to any item in the flyout navigates directly to it.

Steps to Reproduce

  1. Create a Xamarin Forms project (I used Xaminals)
  2. Create a flyout menu
  3. Copy-paste a tab so that you have at least 6 tabs
  4. Run the project on an iOS simulator/phone
  5. Select the 5th option in the Flyout menu

Expected Behavior

App will navigate directly to route specified on 5th item.

Actual Behavior

App shows the More popup, requiring a second selection of the item (will now be top item in the 'More' list).

Basic Information

  • Version with issue: 4.8.0.1269, 4.0.8.0.1560
  • Last known good version: Unknown
  • IDE: VS 2019
  • Platform Target Frameworks:

    • iOS: 11, 12

    • Android: n/a

    • UWP: n/a

  • Android Support Library Version: n/a
  • Nuget Packages: n/a
  • Affected Devices: All iOS
navigation shell iOS 馃崕 bug

Most helpful comment

I think this one is related to:

12564

7594

11446

All 5 comments

don't subscribe, I'm getting over 100 emails a day from this subscription

@dan-matthews can you try out 5.0 pre3 and if you still see the issue attach a repro?

I'm not quite seeing what you're talking about here..

I'm seeing the same behavior on Android and iOS for this one

@PureWeen this bug still happens. :/
I'm doing some investigation, but the cause is the ViewController for all items inside the More tab are the MoreNavigationController.

I think this one is related to:

12564

7594

11446

Seems to be the same (or related) with https://github.com/xamarin/Xamarin.Forms/issues/11446

Was this page helpful?
0 / 5 - 0 ratings