Slow to toggle element

Hey guys,

Super odd behavior I’m encoutering.

I have a repeating group of cards, when clicking on a card, it shows/toggle its content. (Like an faq type of layout)

The first time I click the group, its content shows as expected, and the process is quite quick. Clicking again to toggle hide the content works perfectly as well.

The odd issue I can’t figure out is all subsequent times I click to toggle show the element, it takes a good 5 seconds to open. The page becomes super laggy while its “opening”.

In theory it should be even faster than the first open since the content is already loaded…

Hoping someone can help me!

Cheers

Found the issue, it was due to the bubble Chart plugin inside the element. I switched to another chart plugin (apex) and it works fine!