xamarin/Xamarin.Forms

[Bug] [Shell] Bottom tab back navigation is not working on Android

オープン

#7,081 opened on 2019/08/06

 (4 件のコメント) (1 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
e/3 :clock3:help wantedp/Androidt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Description

On android, when using bottom tabs in shell, if I navigate to a new page and then navigate back by using the bottom tab bar, no navigation occurs. I am forced to use the back button.

Steps to Reproduce

  1. Create an app with shell and set up 2 bottom tabs.
  2. Push a new page onto the navigation stack using Shell's GoToAsync call
  3. Attempt to navigate back by pressing the bottom tab bar button.

Expected Behavior

I am able to navigate back to the previous page

Actual Behavior

No navigation happens.

Basic Information

  • Version with issue: Forms 4.1
  • Last known good version: none that I know of
  • IDE: windows and mac
  • Platform Target Frameworks: Latest

Reproduction Link

Repro Project

This project is the basic shell template when making a new shell project. I changed the navigation to the item details to using a shell route instead of using the page INavigation property.

Extra info

Navigating back is the behavior found on other android apps with bottom nav bars (Target, YouTube, Spotify).

コントリビューターガイド