Xamarin.Forms icon indicating copy to clipboard operation
Xamarin.Forms copied to clipboard

[Bug] Shell.Current.GoToAsync("..", true) has no animation like Shell.Current.Navigation.PopAsync()

Open MaxFmi opened this issue 4 years ago • 2 comments

Before I start I would like to thank you guys from the xamarin team for the awesome job you do!

Description

Shell.Current.Navigation.PopAsync() has an animation by default. When we navigate back by using Shell.Current.GoToAsync("..") it has no animation. Even when we set the animation parameter to true of GoToAsync -> Shell.Current.GoToAsync("..", true)

Steps to Reproduce

  1. Use Shell.Current.Navigation.PopAsync() and have a look at how the animation should look like
  2. Use Shell.Current.GoToAsync("..") and watch how the previous page appears immediately without animation. Which is a bit confusing for the used.
  3. Set animation to true -> Shell.Current.GoToAsync("..", true) and there still is no animation.

Expected Behavior

  1. Shell.Current.GoToAsync("..") should have the same animation as Shell.Current.Navigation.PopAsync().

Actual Behavior

Shell.Current.GoToAsync("..") has no animation.

Basic Information

  • Version with issue: Xamarin Forms 4.6.0.726
  • Last known good version: -
  • IDE: Rider
  • Platform Target Frameworks: iOS
    • iOS: 13.4.1 (Simulator)
    • Android: 9.0 (Emulator)

Workaround

I don't know any.

MaxFmi avatar May 10 '20 15:05 MaxFmi

Tested with Xamarin.Forms 5.0.0.1709-pre4 -> works great. Thanks :-)

MaxFmi avatar Nov 25 '20 04:11 MaxFmi

Ooops, I can see this issue in most recent XF 5.0 sr3. Can it be reopen or I must create new one? Repo: https://github.com/kcrg/Minne

kcrg avatar Mar 15 '21 07:03 kcrg