Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

PushModalAsync without animation

$
0
0

I'm trying to remove the animation on Navigation.PushModalAsync without much luck.

I have already created a custom renderer "UnanimatedNavigationPage" that overrides NavigationPage OnPushAsync, OnPopViewAsync, and OnPopToRootAsync but all my modals are still appearing with a fade in / grow animation.

When I added some debug code to the overridden OnPushAsync, OnPopViewAsync, and OnPopToRootAsync functions I noticed they aren't even being executed. What am I doing wrong? Which of these methods does NavigationPage use for modals?


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>