How to remove page navigation animation in .Net MAUI?

Sowndarrajan Vijayaragavan 390 Reputation points
2024-05-21T05:43:55.4466667+00:00

I am using Appshell for navigation.
Appshell.Xaml.cs

Routing.RegisterRoute(nameof(LoginPage), typeof(LoginPage));

In Viewmodel relay command i am call the below

AppShell.Current.GoToAsync(nameof(LoginPage));

Animation is moving from left to right.

Issue 1:

AppShell.Current.GoToAsync(nameof(LoginPage),false);

Now Animation is moving from bottom to top. I need to remove animation fully.

Issue 2:

Shell.PresentationMode="NotAnimated"
If i try to remove shell presentation. Animation is turning not off.
And also i have used popup in begin of login page, there it is failing. It is showing the blank screen.
So i can not remove the shell presentation mode.

Need solution for remove the animation

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
{count} votes