Using SfButton within an SfCarousel in Linear mode causes issues

Hi there,

I've been using the SfCarousel control and was hoping to build a series of "quick actions" by combining it with the SfButton control. If I add an SfCarousel control to my XAML page, set the view mode to "linear" and provide an item height and width, then set the item template to use an SfButton control (with an appropriate items source setup) what seems to happen is the carousel does scroll but only up to a certain item, then it appears to reset back to the first item again.

When I had the item dimensions as quite large (nearly the width of the carousel view) it only scrolled to around item #4 in the collection before it reset back to item #1. If I set the item dimensions to smaller (nearly 1/4 the width of the carousel view) it scrolls up to around item #7 or #8 in the collection before it resets back to item #1. 

Edit: It's worth noting that if I replace the SfButton control in the item template with a standard Button control, the carousel has no issues.

Thanks

8 Replies 1 reply marked as answer

SP Sakthivel Palaniyappan Syncfusion Team June 11, 2020 03:05 PM UTC

Hi Chris,

Currently we are validating on this and we will update the detail on June 15, 2020. We appreciate your patience until then.

Regards,
Sakthivel P.




CH Chris June 13, 2020 02:56 PM UTC

Thanks, it's also worth noting that I've also tried using an SfButton within an SfPopupLayout control which has the view AutoSizeMode set to Both, and the buttons don't show up at all. If I was to guess, I'd hazard a guess that the SfButton isn't calculating it's bounds correctly.


SP Sakthivel Palaniyappan Syncfusion Team June 15, 2020 12:51 PM UTC

Hi Chris,

We have considered this "In Linear ViewMode the Scroll position resets the selected item" as bug from our side.We have logged the bug report for this and please find the below link for this,

https://www.syncfusion.com/feedback/15243/when-using-viewmode-as-linear-the-scroll-position-resets-the-selected-item 

If you have any more specifications/suggestions to the bug report, you can add it as a comment in the portal.

We will provide the patch for this issue on June 30, 2020. We appreciate your patience until then.

Query :using an SfButton within an SfPopupLayout control which has the view AutoSizeMode set to Both, and the buttons don't show up at all

Currently we are validating on this and we will update the details on June 16, 2020.We appreciate your patience until then.

Regards,
Sakthivel P.
 



SJ Suyamburaja Jayakumar Syncfusion Team June 16, 2020 06:28 PM UTC

Hi Chris, 
 
Sorry for the delay. 
   
We need some more time to validate this, since we have some technical block. Hence, we will update the complete details on or before June 17,2020. 
 
Regards, 
Suyamburaja  



SJ Suyamburaja Jayakumar Syncfusion Team June 17, 2020 01:48 PM UTC

Hi Chris, 
  
Thanks for your patience. 
  
We have analyzed the reported query and tested the same, which is working fine at our end. 
  
Please find the tested sample below,  
  
Can you please share the following details which will be helpful for us to analyze the reported issue at our end and to provide a possible solution at earlier? 
 
·       Could you please code snippet to reproduce the same if the provided sample is not your use case 
·       Can you please ensure the whether the same issue occurred when updating the appropriate height request value to that? 
 
Regards, 
Suyamburaja J. 



SP Sakthivel Palaniyappan Syncfusion Team July 2, 2020 12:34 PM UTC

Hi Chris,

Sorry for the inconvenience.

We are currently working on the issue "In Linear ViewMode the Scroll position resets the selected item" with high priority. Due to complexity, we still two days on the reported issue. We will update the same on or before July 07, 2020.

Regards,
Sakthivel P.
 



SP Sakthivel Palaniyappan Syncfusion Team July 7, 2020 01:20 AM UTC

Hi Chris,

We have fixed the reported issue of ”In Linear ViewMode the Scroll position resets the selected item” and please find the assemblies from below.

Custom Assemblies:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/SfCarouselResets_Scroll-22688015

Assembly version :18.1.0.59

We can generate patch only for Main release and SP1 release versions, so we have provided the custom assemblies in 18.1.0.59.

Disclaimer:
Please note that we have created this for version 18.1.0. 59 specifically to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.

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

Fix will be included in our upcoming weekly NuGet, which will be available on July 21, 2020.

Regards,
Sakthivel P.





SP Sakthivel Palaniyappan Syncfusion Team July 22, 2020 03:22 AM UTC

Hi Chris,

Thanks for the patience.

We are glad to announce that our weekly NuGet version 18.2.0.46 was rolled out and the fix for the reported was included in the weekly NuGet.

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

Regards,
Sakthivel P.


Marked as answer
Loader.
Up arrow icon