xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.64k stars 1.88k forks source link

Xamarin forms UI Elements bug after returning from a website #15748

Open vsfeedback opened 1 year ago

vsfeedback commented 1 year ago

This issue has been moved from a ticket on Developer Community.


I have an application developed in Xamarin forms 5.0 and .net standard 2.1. On my login page I have a "login" button that when tapped, on the ViewModel side I change my "IsBusy" property which hides the content of the view (Binded to IsVisible), starts the Activity Indicator and opens a browser where I enter the portal of the provider associated with Microsoft accounts. The browser then returns a callback with the credentials or the login response to the mobile app. My problem is that when I return from the browser, a few seconds pass while the application receives the login result and redirects to the home page, in that time I should see the Activity Indicator and not the content of the view. I debugged the time when the browser is closed and the "IsBusy" property is still true, still I don't see the activity indicator and I see the view in its initial state.

image.png


Original Comments

Feedback Bot on 5/17/2023, 07:09 PM:

(private comment, text removed)


Original Solutions

(no solutions)