Xamarin Forms slow navigating

Hi

I have a search page that have a Button to navigate to another page .
SearchPage Command :
(Application.Current.MainPage as NavigationPage).PushAsync(new OtherPage());
I have one SfComboBox  and two SfTextInputLayout ant some other xamarin forms self controls in OtherPage XAML .

OtherPage Code Behind :

[XamlCompilation(XamlCompilationOptions.Compile)]
    public partial class OtherPage : ContentPage
    {
        OtherViewModel Model;
        public SearchEstatePage()
        {
            InitializeComponent();

            Model = new OtherViewModel();

            Layout.BindingContext = Model;
        }

         protected override void OnAppearing()
        {
            base.OnAppearing();

            Model.GetCities();
        }
    }

Navigation takes about 4 seconds even if I remove BindingContext and run OtherPage without ViewModel . But when I remove SfComboBox and SfTextInputLayout navigation done without any delay . How can I fix this ?

1 Reply

SS Suganya Sethuraman Syncfusion Team September 9, 2020 01:42 PM UTC

Hi Max Payne,

Greetings from Syncfusion.

We have analyzed your query and checked the reported issue in all three platforms with your provided details, but we could not able to reproduce the reported issue.

Please find the sample from below location.

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/SfComboBoxNavigation-1025025435

Could you please check the issue with the attached sample and let us know whether it is reproduced or not? If the issue was not reproduced in this sample, please revert us by modifying the sample based on your application along with replication procedure or provide the sample and mention the platform. This will be helpful for us to investigate further and provide you a better solution at the earliest.

Regards,
Suganya Sethuraman. 


Loader.
Up arrow icon