Unexpected Behavior on Navigation from an SfTabItem

Hello Syncfusion,

I began using the SftabView but I keep getting navigation issues when i try to move to the next page.
The page is displayed but the UI is unresponsive. I can confirm that the navigated to page has no issues 
as it was working fine before using the tab view. What could the issue be, how should we handle navigation from SfTabItems?

I'm populating the Sftab view items with a list from a ViewModel as the content for the different tab items is in  content pages,
following this sample: 

https://github.com/SyncfusionExamples/Load-PageContent-into-SfTabView/tree/master/TabViewSample

Each of these content pages has it's own view models too. and navigation is being handled in the ViewModel using this: 

await App.Current.MainPage.Navigation.PushAsync(new NextPage());

1 Reply 1 reply marked as answer

SP Sakthivel Palaniyappan Syncfusion Team December 18, 2020 07:37 AM UTC

Hi Nakiganda,

Greetings from Syncfusion.

We have analyzed your query and checked the reported issue of “Page navigation is blocked in SfTabView” is occurring only when set to a SfTabItem content is ContentPage content and using the content page navigate to another page the page is not navigating. We have checked the navigation without SfTabView, the issue occurs also in Xamarin.Forms Navigation. Sample we tried for Xamarin.Forms Navigation can be download from below.

Xamarin Navigation Sample:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/TabViewSample-321169650.zip

Workaround:
We suggest to use TabItem content as ContentView instead of using ContentPage content to resolve the issue. We have prepared sample based on this and please find the sample from below.

Sample:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/Load-PageContent1262981549.zip

Please let us know if you have any other queries.

Regards,
Sakthivel P.


Marked as answer
Loader.
Up arrow icon