Skip to content

Falsy Conditional Display block with Motion Effect block prevents loading of Motion Effect frontend script #3693

@Arukuen

Description

@Arukuen

Describe the bug
When you have a block with falsy conditional block that has a child block with motion effect(s), the motion effect frontend script will not be loaded for that page. This causes error to subsequent blocks that use motion effect.

Note that this only happens when the said block is the first block in the page that uses motion effect.

To Reproduce
Steps to reproduce the behavior:

  1. Add a Columns block
  2. Add a Heading inside the Columns.
  3. Set the Conditional Display of the Columns block to a falsy one (e.g. Login Status > Logged-Out Users while viewing the page as logged-in user).
  4. Set the Motion Effects of the Heading block (e.g. Entrance Animation)
  5. Add another Heading below and set its Motion Effects.
  6. See that the Column is not displayed as expected, but the Heading below is also not shown due to the faulty entrance animation (stuck at stk-entrance with 0 opacity)

Expected behavior
Falsy conditional display is expected to not load the block's frontend script as if the block is not present at all. However it should not prevent subsequent loading.

Reported Issue: https://www.notion.so/Motion-effects-issue-with-Metabox-2ed584f29f4c80b8b94dfacf15d950e3?source=copy_link

Related to #3688.

Screen.Recording.2026-03-24.at.11.40.01.PM.mov

Also happens on anything with a frontend script:

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions