DisclosureGroup with "isExpanded" with a @State variable is working fine on iPhone and iPad but makes the Mac app unresponsive. removing the "isExpanded" parameter fixes the issue but I lose that functionality. Does anyone know of this issue and have a solution or a workaround?
DisclosureGroup with "isExpanded" makes the app on Mac (designed for Ipad) unresponsive
edit: this happens when using multiple DisclosureGroup with different @State variables in "isExpanded" in the same view (it works if it's just one).
Apparently DisclosureGroup wasn't the issue. Deleting the project from Library > Containers folder before every run solves the problem. I have no idea why this is necessary but I hope this will be addressed.