xamarin/Xamarin.Forms

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

開放

#7,081 建立於 2019年8月6日

 (4 則留言) (1 個反應) (0 位負責人)C# (1,926 個分叉)batch import
e/3 :clock3:help wantedp/Androidt/bug :bug:up-for-grabs

倉庫指標

星標
 (5,644 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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).

貢獻者指南