Hello,
How is navigation to these anchors currently performed ?
You could write a new function “goToAnchor(anchorName)” that will both navigate to the anchor and expand the relevant container, and use that function for navigation.
Let me know if that doesn’t work for your case and we’ll find a different solution.
Good luck!