xamarin/Xamarin.Forms

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

开放

#3,483 创建于 2018年8月4日

 (5 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
e/3 :clock3:help wantedi/highinactivep/iOS 🍎t/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南