This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] BackButtonBehavior no longer displays on the first routed page in 4.7 #11244
Labels
4.7.0
regression on 4.7.0
a/shell 🐚
i/regression
in-progress
This issue has an associated pull request that may resolve it!
s/unverified
New report that has yet to be verified
t/bug 🐛
Milestone
Description
BackButtonBehavior no longer displays a button on the initial routed to page of the application in 4.7.0.968. Reverting to 4.6.0.967 and below and it will show up.
After login our app shows the main page of the application. On this page we use the BackButtonBehavior override to add a sign out icon to return the user to back to the login page. With 4.7 our Signout button no longer is visible. The Login page and Main page are in two different ShellItems on the AppShell.xaml
Steps to Reproduce
LoginViewModel.cs
await Shell.Current.GoToAsync("//Main");
MainPage.xaml
Expected Behavior
Sign Out button (Icon replaces the back button icon) should show in the top left corner on the tool bar on the first and all routed to pages.
Actual Behavior
Sign Out button does not show up on the first routed to page but does show up on the rest.
Basic Information
Screenshots
4.6
4.7
Sample
Xamarin Project that reproduces the error
The text was updated successfully, but these errors were encountered: