Multiple issues in SfTabView

Hi,

I have few problems with SfTabView, I use it with the following attributes:     


<tabView:SfTabView BackgroundColor="White" InputTransparent="False" x:Name="ItemsTab" TabHeaderDirection="LeftToRight" EnableSwiping="True" VerticalOptions="FillAndExpand" TabHeight="30" OverflowMode="Scroll" VisibleHeaderCount="3" SelectedIndex="{Binding SelectedTabIndex,Mode=TwoWay}" TabHeaderPosition="Top" Items="{Binding TabItems}">
    <tabView:SfTabView.SelectionIndicatorSettings>
        <tabView:SelectionIndicatorSettings Color="#9d88ff" Position="Bottom"  StrokeThickness="3" />
    </tabView:SfTabView.SelectionIndicatorSettings>
</tabView:SfTabView>
       
    

I generate tabs dynamically in an async task, each tab content has only one SfListView which is generated like this:

SfListView main_List = new SfListView();
            main_List.SelectionMode = Syncfusion.ListView.XForms.SelectionMode.None;
            //main_List.SelectionGesture = TouchGesture.Tap;
            main_List.VerticalOptions = LayoutOptions.FillAndExpand;
            main_List.HorizontalOptions = LayoutOptions.FillAndExpand;
            main_List.ItemsSource = source;
            main_List.IsScrollBarVisible = false;
            main_List.AutoFitMode = AutoFitMode.DynamicHeight;
            main_List.BackgroundColor = Color.White;
            main_List.Margin = new Thickness(1, 0, 1, 0);
            main_List.Padding = 0;
            main_List.GroupHeaderSize = 0;            
            main_List.ItemSpacing = 1;
            main_List.LoadMoreOption = LoadMoreOption.AutoOnScroll;
            main_List.LoadMoreCommand = LoadMoreCommand;
            main_List.SwipeOffset = 0;
            main_List.LoadMorePosition = LoadMorePosition.Bottom;
            main_List.LoadMoreCommandParameter = main_List;
            main_List.TabIndex = tabIndex;
            main_List.ItemTemplate = ItemDataTemplate;

I attached the SfListView ItemDataTemplate rar file


when I run the application I get 3 problems:

1- On app startup tabview doesn't appear.. if I reload the main page is shows up

2-If I set list AutoFitMode to DynamicHeight items doesn't get calculated correctly initially, I need to scroll down then up so it render correctly

3-The most odd one, since there is multiple tabs (+5), when I scroll fast to the last tab header and click nothing happens, and I get a small vibration (haptic one I guess). But if I don't click immediately after scrolling and wait about 2 seconds then the tab get selected.

I tried different solutions but with no avail

PS:
-None of the above problems occurs on Android
-I set list's items source on TabSelectedIndex change, because if I don't do that I may get a blank list (this is applicable in Android as well)
-I'm working on Visual Studio on mac

XF                    : 5.0.0.1874
SfTabView       : 18.4.0.34
iOS SDK          : 14.4
Device              : iPhoneX - OS 13.7

Best regards,

Attachment: info_5a73f406.rar

21 Replies 1 reply marked as answer

RS Ruba Shanmugam Syncfusion Team February 15, 2021 12:50 PM UTC

Hi Ammar,

Greetings from Syncfusion.

We are currently validating on the reported issue and we will update the complete details on or before February 16, 2021. We appreciate your patience until then.

Regards,
Ruba Shanmugam


RS Ruba Shanmugam Syncfusion Team February 16, 2021 01:23 PM UTC

Hi Ammar,

Greetings from Syncfusion.

We have validated your query and prepared a sample based on the provided code snippet and information for replicating the reported issue with SfTabView and SfListView. We regret to let you know that we couldn't able to reproduce the same.

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/TabView_ListViewDynamic705313298

Issue 1- On app startup tabview doesn't appear. if I reload the main page is shows up

Based on the provided code snippet we have load the TabView dynamically and generate tabs in async way. But it's loading fine.

Issue 2-If I set list AutoFitMode to DynamicHeight items doesn't get calculated correctly initially, I need to scroll down then up so it render correctly.

Issue 3-The most odd one, since there is multiple tabs (+5), when I scroll fast to the last tab header and click nothing happens, and I get a small vibration (haptic one I guess). But if I don't click immediately after scrolling and wait about 2 seconds then the tab get selected.


We set the DynamicHeight for ListView but it's loading the items property on the view and scrolling the tab fastl

Since we were not aware for your exact scenario. So could you please try our sample and let us know if you still facing the same issue? If not, please modify our sample and revert us back with the following details which would be helpful for us to check on it and provide you the solution as soon as possible.

Regards,
Ruba Shanmugam



AA ammar alazem February 17, 2021 07:19 AM UTC

Hi Ruba,

Thank you very much for your support. Regarding the first and second issues I will try to update the sample project you have sent to reproduce those issues.
But regarding the third one I have built and run the sample project and I got the same behavior I described - not all tab clicks are switching the selected tab-

I have uploaded a short video to demonstrate the problem further (Uploaded to drive because it is exceeding the uploading limit here)
you can hear the short haptic vibration in the background

https://drive.google.com/file/d/1rLs-g5g2e7lsYD_GFbjmVcnldiFj_efB/view?usp=sharing

Thank you for your cooperation

best regards,


RS Ruba Shanmugam Syncfusion Team February 17, 2021 02:34 PM UTC

Hi Ammar,

Thanks for the update.

We are currently checking the reported issue and we will update the complete details on or before February 19, 2021. We appreciate your patience until then.

Regards,
Ruba Shanmugam
 



RS Ruba Shanmugam Syncfusion Team February 19, 2021 02:06 PM UTC

Hi Ammar,

Query : There is multiple tabs (+5), when I scroll fast to the last tab header and click nothing happens, But if I don't click immediately after scrolling and wait about 2 seconds then the tab get selected.

We are able to reproduce reported issue and logged defect report for this. Please find the feedback link for this

Link: https://www.syncfusion.com/feedback/22632/ios-sftabview-selected-tabitem-not-changed-after-scrolling-tabheader

The provided feedback link is private, and you need to login to view this feedback.

The fix for the reported issue will be available on March 5, 2021.

If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.

Regards,
Ruba Shanmugam


AA ammar alazem February 19, 2021 06:04 PM UTC

Hi Ruba,

Thank you for your support, much appreciated. I have resolved the first and second problems which I previously reported, it was not linked to SfTabView.

Waiting for your next release.

Best regards,


RS Ruba Shanmugam Syncfusion Team February 22, 2021 07:09 AM UTC

Hi Ammar,

Thanks for the update.

We are pleased to hear that you have resolved the reported issue. As we promised earlier fix for the reported issue will be available on March 5, 2021.

Regards,
Ruba Shanmugam


RS Ruba Shanmugam Syncfusion Team March 5, 2021 01:02 PM UTC

Hi Ammar,

Thanks for your patience. We have fixed the reported issue “[iOS] SfTabview selected tabitem not changed after scrolling TabHeader”. Please find the patch setup from the below location.

https://syncfusion.com/Installs/support/patch/18.4.0.39/986102/F162583/SyncfusionPatch_18.4.0.39_986102_3052021070909082_F162583.exe

or

Please find the patch assemblies from the below location. 

Follow the below link to clear cache,
https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache  

Can you please let us know, whether the issue has been fixed or not with provided patch. Based on the your confirmation we will move the fix on the next weekly release.

Regards,
Ruba Shanmugam 



RS Ruba Shanmugam Syncfusion Team March 5, 2021 01:03 PM UTC

Hi Ammar,

Thanks for your patience. We have fixed the reported issue “[iOS] SfTabview selected tabitem not changed after scrolling TabHeader”. Please find the patch setup from the below location.

https://syncfusion.com/Installs/support/patch/18.4.0.39/986102/F162583/SyncfusionPatch_18.4.0.39_986102_3052021070909082_F162583.exe

or

Please find the patch assemblies from the below location. 

Follow the below link to clear cache,
https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache  

Can you please let us know, whether the issue has been fixed or not with provided patch. Based on the your confirmation we will move the fix on the next weekly release.

Regards,
Ruba Shanmugam 


Marked as answer

AA ammar alazem March 6, 2021 09:22 AM UTC

Hi Ruba,

Great, thank you for this fix.. I'll test it today and give you feedback

Best Regards,


AA ammar alazem March 6, 2021 02:54 PM UTC

Hi Ruba,

I can confirm that issue has been resolved.. it is working as expected now
Thanks again

Best regards,


RS Ruba Shanmugam Syncfusion Team March 8, 2021 08:39 AM UTC

Hi Ammar,

Thanks for the update. We are glad that our patch resolves the reported issue. The fix will be included in our weekly release which is expected to be rolled out on March 23, 2021.

Regards,
Ruba Shanmugam


RS Ruba Shanmugam Syncfusion Team March 24, 2021 05:15 AM UTC

Hi Ammar, 
 
Sorry for the inconvenience. The fix for the reported issue is not included in this weekly release due to having some pending test cases to ensure that fix, so we were unable to move this fix. We have completed all the test cases and moved this fix in our next weekly NuGet which is expected to be rolled out on April second week.

We appreciate your patience until then.

Regards,
Ruba Shanmugam 
 



CE Cezar April 14, 2021 07:37 PM UTC

I have some similar problems using the latest version. 19.1.0.56. Testing on Android.

If I set SfTabView.SelectedIndex via code, then the click to return to the tab I was in no longer works.

- I have 3 tabs and I'm with the first tab open.
- I use the code SfTabView.SelectedIndex = 1 (to select the second tab)
- I cannot click on the first tab to return to it anymore. I have to select another tab then the click on the first tab will work again.

I tested it here and the bug is caused by 19.1.0.56 version.
On 19.1.0.55 it works as expected.




MS Mugundhan Saravanan Syncfusion Team April 15, 2021 06:33 PM UTC

Hi Ammar,

Sorry for inconvenience.

We have analyzed the reported issue. We have already fixed the reported issue. Please find the assembly for this below.

Assembly Version: 19.1.0.56

Assembly: https://www.syncfusion.com/downloads/support/forum/162583/ze/Custom_Assembly-2042794134

Note: Please refer the below link to apply the custom assembly

https://www.syncfusion.com/kb/8279/how-to-apply-the-custom-assemblies-when-configured-the-project-with-syncfusion-nuget 
 
This fix will be included in our upcoming weekly NuGet release which will be available on 20th April 2021.

Please let us know any concerns.

Regards,
Mugundhan S.



SS Suganya Sethuraman Syncfusion Team April 20, 2021 12:38 PM UTC

Hi Ammar,

Thanks for your patience.

We have included the fix in our latest Weekly NuGet release v19.1.0.57 which is available for download (https://www.nuget.org/ ). We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.

Regards,
Suganya Sethuraman.
 



AE Atallah Esaied February 14, 2022 09:10 AM UTC

I have a related issue when hiding or displaying a Tabitem the Tabview reset to select the first tab, this issue only reported in android



SS Suganya Sethuraman Syncfusion Team February 15, 2022 04:36 PM UTC

Hi Atallah,

We are validating the reported issue and we will provide the details on February 17, 2022.

Regards,
Suganya Sethuraman.
 



SS Suganya Sethuraman Syncfusion Team February 18, 2022 01:51 PM UTC

Hi Atallah,

We were able to reproduce the reported issue and we have confirmed this as a bug and logged a defect report. You can track the status of the bug from the below link.

Link: https://www.syncfusion.com/feedback/32844

We will provide a patch for this issue on March 4, 2022. We appreciate your patience until then.

Note: The provided feedback link is private, and you need to log in to view this feedback.

If you have any more specifications/precise replication procedures or a scenario to be tested, you can add it as a comment in the portal.

Regards,
Suganya Sethuraman.



SS Suganya Sethuraman Syncfusion Team March 7, 2022 12:50 PM UTC

Hi Atallah,

Issue: “When a TabItem is hidden or displayed, the SfTabView returns to the first tab”

We have fixed the reported issue. Please have a custom assembly from the following link,

Custom Assembly: https://www.syncfusion.com/downloads/support/directtrac/general/ze/TabView_IsVisible-1532930886

Assembly Version: 19.4.0.54

Note: Please refer the below link to apply the custom assembly
 
https://www.syncfusion.com/kb/8279/how-to-apply-the-custom-assemblies-when-configured-the-project-with-syncfusion-nuget

Currently, we have patch support only for the main and service pack release version, not for the weekly NuGet release. So only provided an assembly with 19.4.0.54 version.

This fix will be included in our upcoming weekly release which is expected to roll out on March 8, 2022.

Regards,
Suganya Sethuraman.
 
 



SS Suganya Sethuraman Syncfusion Team March 9, 2022 06:43 AM UTC

Hi Atallah,

Thanks for your patience.

We have included the fix in our latest Weekly NuGet release v19.4.0.55 which is available for download (https://www.nuget.org/ ). We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.

Regards,
Suganya Sethuraman.
 


Loader.
Up arrow icon