Hi,
I have already posted about this where the templates are not loaded at all: https://www.syncfusion.com/forums/195191/sfrotator-does-not-load-templates-in-the-latest-version-27-2-2
I then downgraded my Syncfusion controls to 27.1.57. The rotator now loads the templates. The problem with this and older versions is that the templates do not update when changed while the rotator is visible.
On starting the app in Windows or Android press the "Start Wizard (Rotator)" button.
This loads the rotator with two templates 1 and 2. This is correct.
On the second template press the "Load Templates 2" button. Swipe and you will see the original templates 1 and 2 are still there. The existing templates should be replaced by templates 2, 3, 4.
The selector at the bottom has updated correctly but you cannot get to template 4 as it has not been loaded correctly. You should be able to swipe or click on template 4 but neither work correctly.
Please see the test project attached.
Hi Mark,
We have reviewed your query and successfully reproduced the reported issue on our end. The issue has been resolved, and the fix will be included in our upcoming weekly release scheduled for Today. We will notify you as soon as the NuGet package is released. We appreciate your understanding and patience in the meantime.
Regards,
Aarthi A.
Hi,
Thank you very much. Thanks for your excellent support.
Mark.
Hi Mark,
We have included a fix for the reported issue, "Rotator does not update templates in Android and Windows" in our latest weekly NuGet release, v27.2.3, which is now available for download (NuGet).
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,
Aarthi A
Thank you for the update. Unfortunately I have have updated to your latest Nuget packages
Hi Mark,
Sorry for the inconvenience. We would like to inform you that the SfRotator control is designed primarily for displaying items and is not the most efficient choice for your use case. Instead, we recommend using SfTabView, which allows you to swipe through items and handle touch-related actions more efficiently.
In your sample, we made the following modifications:
By switching to SfTabView, you can resolve the reported issue of being unable to load ItemTemplates dynamically. However, we have observed an issue where the swiping behavior is improper when templates are loaded dynamically. We are currently investigating this behavior in SfTabView and will provide an update on or before November 28, 2024. We appreciate your patience and understanding in the meantime.
We have attached the modified sample and included code snippets below for your reference. Please review them for further details.
|
<DataTemplate x:Key="WizardItemTemplate"> <ContentView Content="{Binding Template}" /> </DataTemplate>
<sf:SfTabView EnableSwiping="True" ItemsSource="{Binding WizardTemplates, Mode=TwoWay}" ContentItemTemplate="{StaticResource WizardItemTemplate}" SelectedIndex="{Binding WizardIndex, Mode=TwoWay}" TabBarHeight="0" VerticalOptions="FillAndExpand"> <sf:SfTabView.Behaviors> <behaviors:EventToCommandBehavior EventName="SelectionChanged" EventArgsConverter="{StaticResource SelectedIndexChangedConverter}" Command="{Binding WizardSelectedIndexChangedCommand}" /> </sf:SfTabView.Behaviors> </sf:SfTabView>
|
Please let us know whether the provided suggestion helps to resolve your query. Please don’t hesitate to contact us if you have any concerns or queries.
Regards,
Aarthi A.
Hi,
Thank you for your response. We will investigate using the tab control instead of the rotator. This does unfortunately mean a big delay in our project. If it solves the problems we have been having it will be worth it.
Thanks very much for your help so far, your support is excellent.
Thanks
Mark.
Hi Mark,
You're welcome. Please check the provided sample and get back to us. We will await your response.
Regards,
Preethi R
Hi Mark,
We have addressed the reported issue " The swiping behavior of SfTabView is inconsistent when templates are loaded dynamically on the Windows platform" on our end. At present, a custom patch has been created for version 27.2.4 We have attached the NuGet files for your convenience.
Please note that we have created this patch for version 27.2.4 specifically to resolve the issue reported in this ticket. If you have received other patches for the same version for other products, please apply all patches in the order received.
Please clear the NuGet cache, before using the latest one and please refer to the below link for this
Please refer to the below KB to install the custom NuGet on a local machine,
How to install the MAUI custom NuGet in the Windows machine?
This fix will be included in our weekly release on December 03, 2024. We will notify you once NuGet is released and appreciate your understanding and patience until that time.
Disclaimer: The inclusion of this solution in the weekly release may change due to other factors, including but not limited to QA checks and work reprioritization.
Root cause and resolution:
Root Cause: Previously we missed to handle touch interaction with parent view for SfButton
Resolution: Now we restrict to the SfButton control to pass the touch interaction to the parent
Regards,
Aarthi A.
Thank you very much. I will test and get back to you.
Hi Mark,
You are welcome. Kindly test the provided patch and get back to us. We will be awaiting your response.
Regards,
Preethi R
Hi Mark,
We have included a fix for the reported issue, "Swiping issue in SfTabView" in our latest weekly NuGet release, v27.2.5, which is now available for download (NuGet). 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,
Aarthi A.
Thank you very much for your Nuget update.
For future reference: "However, we have observed an issue where the swiping behavior is improper when templates are loaded dynamically." means that when you switch between loading the templates the mouse gets stuck. "Stuck" means it is as if you are holding the mouse down permanently and a left right mouse action causes the templates to swipe.
The above is fixed but the templates do not load correctly on Windows. On switching flows (loading groups of templates) you will see a dark blue background. This means the templates did not load. Swiping will get the templates to show. This affects Windows only. It works fine on Android.
Attached is my latest test project using a TabView as you suggested. This has worked out very well and fixed most of the issues.
Here is the previous version of the test project. The templates load correctly but it shows the stick mouse problem.
Hi Mark,
We were able to replicate the reported issue in the tab view, where the content was not updated correctly when the selected index was changed through a list view item tapped command. A potential fix has been identified and provided. At present, a custom patch has been created for version 27.2.5. We have attached the NuGet file for your convenience.
Please note that we have created this patch for version 27.2.5 specifically to resolve the issue reported in this ticket. If you have received other patches for the same version for other products, please apply all patches in the order received.
Please clear the NuGet cache, before using the latest one and please refer to the below link for this
Please refer the below KB to install the custom NuGet on a local machine,
How to install the MAUI custom NuGet in the Windows machine?
This fix will be included in any of our upcoming weekly release. We will notify you as soon as weekly release is scheduled. Thank you for your understanding in the meantime!
Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”
Root Cause:
The reported issue occurred because the content transition was not updated correctly when the selection was made through the SelectedIndex.
Resolution:
The content transition is now properly updated based on the SelectedIndex, ensuring the issue is resolved.
Regards,
Brundha V
Hi,
Thank you for the update. I tested your patched Nuget package and it was still the same. Read on for the full story...
I then did a binary comparison of the old and new package and noticed that the new package was not in my bin folder. How is this possible as I followed your instructions. The reason for this is that the PDFViewer also uses the TabView so this was overriding the new one as they both have the same version number.
I removed the PDFViewer and re added your patched Nuget and it worked :)
Thank you very much for your awesome support.
Thanks
Mark.
Hi Mark,
We are pleased to hear that the provided solution worked well for you.
This fix will be included in our weekly release scheduled on December 17, 2024. We will notify you once NuGet is released and appreciate your understanding and patience until that time.
Regards,
Brundha V
Hi Mark,
We sincerely apologize for the inconvenience caused.
The fix is currently undergoing testing and is expected to be included in our upcoming weekly release, scheduled for December 24, 2024. We will notify you as soon as the NuGet package is released.
We appreciate your understanding and patience in the meantime. Please let us know if you require a custom patch for a specific version before the release, and we will assist you accordingly.
Regards,
Brundha V
Hi Mark,
We are pleased to inform you that the fix for the reported issue on TabView has been included in our latest weekly NuGet release, v28.1.36, which is now available for download.
Thank you for your support and patience while we worked on this update. If you need any further assistance, please don’t hesitate to contact us!
Regards,
Brundha V
I have tested this in my main project and the problem is fixed. Thank you very much.
Hi Mark,
You are welcome.
We are glad that the provided response meets your requirement. Please let us know if you need further assistance. As always, we are happy to help you out.
Regards,
Preethi R