Closed GammaGames closed 6 years ago
You could deactivate the animateChildren option:
$(".ui.accordion").accordion({animateChildren: false});
Or wrap the content in a div:
<div class="active content">
<div>
<p class="hidden">A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.</p>
<a class="hidden ui right floated blue labeled icon button">
<i class="circle icon"></i>
Hidden?
</a>
</div>
</div>
The animateChildren option was exactly what I was looking for, somehow I missed it! Thank you!
Steps
Expected Result
Item CSS shouldn't be overridden
Actual Result
Item CSS is overridden
Version
2.3.2
Testcase
Open and close the top item