Skip to main content

Expand/Collapse Container Action

Open or close a collapsible container from an action set.

The Expand/Collapse Container action opens or closes a collapsible container. Add it to an action set on a Builder screen, for example to open a container when a user clicks a button.

📌 Note: The action works only on containers with Container type set to Collapsible. To make a container collapsible, see Container component. For sections on Designer screens, use the Expand/Collapse Section action.


Parameters

Parameter

Description

Select a collapsible container

The container to open or close. The list shows only containers whose Container type is Collapsible, including containers that are collapsible on desktop only or on mobile only.

What will happen?

There are three choices for the container state:

Expand: opens the container.

Collapse: closes the container.

Toggle: switches the container to the opposite state.

⊕ Add another container

Add another collapsible container to configure. One action can open or close several containers.


Things to know

  • If you change a container the action targets to Fixed, the action editor flags the action.

  • Furthermore, the action skips a container that is no longer collapsible.

  • If a container is collapsible on desktop but fixed on mobile, the action does nothing on mobile.

  • A disabled collapsible container cannot be opened or closed.

Did this answer your question?