vikignt/svelte-mui

expansionPanel destroys content

sourcegr opened this issue · 0 comments

In a use case, the contents of the expansionPanel are created dynamically.

But when the panel is rolled-up, all the contents are destroyed, leaving the app in an undetermined state :(

It would be better to use a css method to hide the contents, instead of an {#if}.

(This problem could also appear on other components as well)