blazor-components icon indicating copy to clipboard operation
blazor-components copied to clipboard

Accordion UI lag

Open TheChosenPotater opened this issue 2 years ago • 1 comments

Hi, I noticed when I add around 10+ collapse panels to the Accordion component it starts to lag the UI. Is there any workaround for this issue? I noticed playing around with the parameters (ex: changing cascading parameter Accordion parent to normal public parameter it removes the lag) but haven't found a fully working fix yet.

TheChosenPotater avatar Nov 19 '21 00:11 TheChosenPotater

Hi @TheChosenPotater, Sorry for the late answer I was sick...

Now tested this issue on the Demo project I have added 15 Panels to the Accordion. Did not noticed any issue... Not sure what is the problem in your case. Could you specify the problem and give me a code example etc.? Is it possible you are using some complex content (which renders slowly or blocking UI thread) or animation which might causing this issue? Also please check if you are subscribed to some events and might running some long running or thread blocking code?

majorimi avatar Nov 30 '21 18:11 majorimi