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

Overlapping Grid Items Refresh

$
0
0

I have a grid where some of the items live in the same column (Grid.Row="0" for several items).

When a user clicks certain buttons, some of them hide and only 1 is shown at once (using the IsVisible property).

Whatever item is show first draws successfully on the screen (tried several different items).

When I switch to another item (whichever one it is) it turns blank.

After that everything draws on the screen as expected.

If I run this line of code when I'm hiding everything (before I show the new screen):

Task.Delay(TimeSpan.FromMilliseconds(10)).Wait();

Everything works as desired (except there is a little flash since everything is wiped out and then displayed, i.e. buffering).

This looks like a bug in the Xamarin framework.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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