Push/pull widgets works with "show/hide", but not with "set panel state" event

I’m guessing you are describing an accordion pattern and you want the accordions to push and pull the elements below them. To do this, instead of Show/Hide with Push/Pull you need to use the Resized interaction and the Move action targetting “All widgets below this”.

  1. You need to have a dynamic panel with Fit to Content checked, it wasn’t clear from your description what it’s set to.
  2. On the dynamic panel that needs to push/pull things, go to the Interactions panel, New > Resized
  3. Add a Move action, in the target dropdown select: “All widgets below This”
  4. Leave Move distance set to “Height change of This”
  5. Click okay.

Now it’ll work and because the interactions don’t have any shape-specific settings because everything targets (or is related to) This, you can easily copy-paste this interaction to all of your accordions.

I’ll note that for a page with only a few accordions this is fine, but too many more and it may become unwieldy to manage and maintain, in that case, I have an alternate way to implement accordions using repeaters.