[BUG] Navigation is animated when parameters have turned animation off
jameslavery opened this issue · comments
Description
If animation is turned off:
var navParams = new NavigationParameters()
{
{KnownNavigationParameters.Animated,false},
{KnownNavigationParameters.UseModalNavigation, false },
};
_navigationService.NavigateAsync(nameof(SecondPage), navParams);
The application still has an animation when navigating. The animation is a slide from right to left.
If a plain MAUI application (without Prism) is used, with animation off, there is no animation.
This has been observed on Windows - it may be present on other platforms, but they have not been tested.
Reproduction project can be found here.
Steps to Reproduce
- Create a new MAUI solution with Prism.
- Add a second page, and add code to navigate from the 1st to second page with animation turned off.
- Run the application and navigate from the first to the second page.
- The application show an animation when navigating.
Platform with bug
.NET MAUI
Affected platforms
Windows, I was not able test on other platforms
Did you find any workaround?
No.
Relevant log output
No response
Great that this has been fixed - thank you. I see it's allocated to the Prism 9.0 milestone. I see that there's no due date for the milestone.
Is there any way to get this fix into our code earlier? Is it available via the CI build?