Skip to content

iOS Navigation / Back Button has page title of current page not previous page; slow/delayed to change navigation page #11691

@edgiardina

Description

@edgiardina

Description

When using Shell.Current.GoToAsync to navigate to a child page, the back button presented in iOS would have a left arrow / reverse disclosure indicator, and the previous page's title if it can fit. However, the title presented when on the child page is of the same page you are on, not the page you were just on previously. This can be confusing as users expect the text next to the back button to show where they were last.

Also, the titles lag and show the previous page's title for a few moments after navigation. Xamarin Forms on iOS had a smooth iOS navigation transition where it sort of slid in. I think that's a native behavior that MAUI has lost.

Simulator.Screen.Recording.-.iPhone.14.-.2022-11-27.at.16.42.10.mp4

Steps to Reproduce

  1. Create a File -> New Maui app
  2. Create a page that you can navigate to that should produce a back button in the Navigation Bar
  3. Give both pages a title
  4. Navigate to that new page. The title displayed next to the back button should be the parent page's title, not the current page's title

Link to public reproduction project repository

https://github.com/edgiardina/MauiBug_WrongBackButtonTitle

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 16

Did you find any workaround?

https://github.com/PureWeen/ShanedlerSamples/blob/main/ShanedlerSamples/Library/Workarounds/ShellWorkarounds.iOS.cs

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions