Argument to allow for Section to be automatically open or closed upon page init

Description of the limitation and why it is relevant to address

In a page that may have many sections, to scroll through we want there to be an option to have the Section to be already open. As the user goes through the page, they can close it when they’re done with each section.

Right now, the current implementation is that the first section will be open (see image below). When we open the page we see that “Trees and Dwellings” section is open but the rest are closed.

But ideally i want the logic to be so that all sections are open and ready to view instead of clicking each one to open it.

Submitter proposed design (optional)

In the SDK, we can add an argument like open_on_init as a boolean argument. The name can be changed. I’m not good with names :sweat_smile:

Current workarounds

None

Hi @PanjiBrotoisworo,

thanks for your feature request!

I believe this is a duplicate of Section default collapsed/expanded.

feel free to add your usecase there if you feel that the current description is missing something

1 Like

Hi @matthijs ,

Yes the thread you linked is what I want. I will just add my comments there. This request can be closed.