I have a Workshop App with two sections that involve two different workflows. The user will only be working in one section at a time and I want to free up more screen space by collapsing the unused section. Is there a way to automatically expand/collapse one section based on the expanded/collapsed state of the other section?
There is no native way to do this, but you can achieve it by creating a Button Group
widget and adding events that Toggle
the sections:
In your Section configs you can set which Section is expanded initially (Here Section 1 is open initially and section two is not):
So when you open your app in viewing mode it looks like this:
And after clicking the Section Toggle
button: