xamarin/Xamarin.Forms

[iOS] XF - Navigation.PushAsync doesn't work from any page opened in "More" TabbedPage.

Aperta

#3483 aperta il 4 ago 2018

 (5 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
e/3 :clock3:help wantedi/highinactivep/iOS 🍎t/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Description

In Xamarin.Forms you cannot push any new child pages if the Page (wrapped in a NavigationPage) is located in the 'More' section of the TabbedPage. If you try to push a new child page, then nothing appears to happen however if you Back out of the parent page and return into the 'More' page (containing list of excessive tabs) and go back to the previously mentioned parent page then the page is blank indicating some sort of Navigation stack corruption. This appears to only fail on iOS.

The demo app attached is a simple app that has 6 tabs where each page has a button that pushes a new page onto the stack.

Steps to Reproduce

  1. Start the Demo
  2. Click into 'More' and choose page '5',
  3. Then click 'Open Page 5' (and nothing happens)
  4. Back out onto the 'More' page via '< More' and go back into page '5'
  5. Now the page is blank.

Expected Behavior

The new page called 'Inner Page 5' to appear and be pushed onto the navigation stack with a 'Back' button.

Actual Behavior

The Navigation.PushAsync does not push the new page onto display while current page appears to get corrupted if you navigate out via the '< More' button and back into that page.

Basic Information

  • Version with issue: 3.0.0.446417 and above
  • Last known good version: n/a
  • IDE: VS for Mac 7.5.4 (build 3)
  • Platform Target Frameworks:
    • iOS: iPhone X iOS 11.4
    • Android: API 25
    • UWP: n/a
  • Android Support Library Version: n/a
  • Nuget Packages: Xamarin.Forms (3.1.0.697729)
  • Affected Devices: iOS Simulator

Screenshots

navigationfailureinmore

Reproduction Link

PushBugInMoreTabbedPage.zip

Guida contributor