Skip to content

Shell's back behavior using GoToAsync("..") triggers no page transition for first detail page on iOS #19074

@christianrr

Description

@christianrr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-animationAnimation, Transitions, Transformsarea-controls-shellShell Navigation, Routes, Tabs, Flyoutarea-navigationNavigationPagemigration-compatibilityXamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convertpartner/syncfusionIssues / PR's with Syncfusion collaborationplatform/ioss/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions