I spent 6 hours fighting with him. Collapse () and expand () don't seem to work. I would expand the panel under the accordion, and other panels would break.
Finally, it turned out that there is some kind of problem that occurs if your accordion is hidden, and then you show () it right before the collapse () and expand () operations on the sub-panels.
My workaround was to never set the accordion to "hidden = true" and never show () it. Instead, I started using the style = {opacity: 0}, and then set opacity: 100 when I needed to see it. This fixed everything, but not the most elegant solution.
source share