Silny ToJa
Silny ToJa

Reputation: 2261

MAUI going back to a specific page is not smooth

Going back to specific page causes the transition to be choppy and shows pages that were open between those pages for 0.5 seconds. How to avoid it?

It's ok when I do it:

await Shell.Current.GoToAsync($"..");
await Shell.Current.GoToAsync($"../../");

and I have this problems if trying to undo like this:

await Shell.Current.GoToAsync($"../{nameof(MainPage)}");

Upvotes: 1

Views: 1012

Answers (1)

rentoulis
rentoulis

Reputation: 414

Maybe you can try the form "GoToAsync(ShellNavigationState state, Boolean animate)" of the method, with "animate = false" to avoid animations. See: MAUI documentation for details. I hope this helps.

Upvotes: 1

Related Questions