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

Once IsGestureEnabled is set to false, setting it to true again doesn't have any effect on iOS

$
0
0

I need to toggle the value of my MasterDetailPage property of "IsGestureEnabled" when opening and closing its Master page. To accomplish this, I have an event handler to change the value of this property...

 this.IsPresentedChanged += ((object sender, EventArgs args) =>
            {
                System.Diagnostics.Debug.WriteLine("==> IsPresentedChanged event, this.IsPresented = {0}", this.IsPresented);
                this.IsGestureEnabled = this.IsPresented;
            });

This event handler works as expected, however, once I change the IsGestureEnabled property to false, setting it to true again doesn't have any effect on iOS. I think this is a Xamarin bug since I'm not the only one experiecing this issue (see here).

Is there a workaround for this?

Thanks.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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