-
Notifications
You must be signed in to change notification settings - Fork 1.9k
iOS Navigation / Back Button has page title of current page not previous page; slow/delayed to change navigation page #11691
Description
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
- Create a File -> New Maui app
- Create a page that you can navigate to that should produce a back button in the Navigation Bar
- Give both pages a title
- 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?
Relevant log output
No response