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

Screen flicker on navigation

$
0
0

I'm using Xamarin Forms in my app. I've followed the recommended pattern for showing a login screen within a navigation page - my initial page is a page within a navigation page and then the login page is shown using PushModelAsync()

If the user clicks on a "Sign out" menu within the app, then I call PopToRootAsync() and then PushModalAsync() directly after.

The problem, both in the case of starting the app and in the case of signing out is that I get the first screen animating in, then the modal over top of it animating in. This causes an uncomfortable flicker where the first screen is momentarily available before the login screen shows...

Anyone have any advice for how to get rid of that flicker? Ideally I'd do all my navigation changes, and then the animation would show for only the page that is actually at the top of the stack...


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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