too long time to expand / collapse an item

Hi,

I have an SfAccordion control within which, for each item, I created a custom control that contains some dropdownlists and a SfListView with checkBox.
If the content of the list is of a few items the expansion / collapse time is acceptable but if the number of items in the list is also 10/20 items the expansion / collapse time is a few seconds. I have turned off all accordion effects but it seems that the custom control rendering, inside the accordion template, is done more times than it seems necessary.
By capturing the OnCollapsing event, in fact, the event happens after about 1 second. Doing some tests it seems that the rendering of the custom control occurs as many times as there are Items in the SfAccordion control. I also set EnablePersistence = "true" but without any significant change.

I use the latest version of SyncFusion for blazor and .NET 5.2

waiting for your suggestion on how to reduce this time
thank you

1 Reply 1 reply marked as answer

SK Satheesh Kumar Balasubramanian Syncfusion Team February 3, 2021 10:22 AM UTC

Hi Salvatore,

Greetings from Syncfusion Support..!

We have validated your reported query "too long time to expand / collapse an item" at our end and prepared sample to reproduce the reported issue. But, accordion takes reasonable time to expand / collapse an item. Please find the sample and video for your reference.



Kindly try the above sample and if the issue still persists at your end kindly share the below details to serve you better? 
  • Replicate the issue in the above sample
  • Share issue replicating sample if possible
  • Share accordion, listview and custom control related code snippets
  • Share the issue depicting image/video

Regards,
Satheesh Kumar B



Marked as answer
Loader.
Up arrow icon