-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Description
When navigating back from a detail page in Shell to the root page by using GoToAsync(".."), there is no page transition visible on iOS (=slide transition). The root page appears instantly.
The navbar's back button behaves correctly and shows the back transition on both platforms.
Also calling Shell.Current.Navigation.PopAsync() shows the correct behavior on both platforms.
The page transition on iOS does not work only if navigating back to the root page on the navigation stack. If there are multiple pages on the stack it works as expected.
Steps to Reproduce
- Create a Shell item with a master page and a detail route, e.g. //home and //home/detail
- Navigate from the master page to the detail page, so that both pages are on the navigation stack of Shell's CurrentItem
- Programmatically pop the detail page by calling
GoToAsync("..")
--> no page slide transition is visible on iOS (Android works as expected)
Link to public reproduction project repository
https://github.com/christianrr/Maui_Shell_NavIssue
Version with bug
8.0.3
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
Calling await Shell.Current.Navigation.PopAsync(); instead of GoToAsync("..")
Relevant log output
No response