Hey team, Hope you’re well!
This issue has been frustrating me for at least a year (probably more), and hoping you can include this as a fix moving forward.
Steps to reproduce
Add a Modal (Dynamic Rendering on or off, it makes no difference).
Put a Video element inside it, type Embed, with a YouTube iframe whose src includes autoplay=1.
Save and reload the builder.
Result: the video starts playing with the modal closed, every time the builder loads.
Cause
Preface this with this being Claude’s summary, not my own. Looks to be right though.
The preview outputs the modal’s content as a %%{children(‘id’)}%% placeholder and mounts the child elements straight into the closed .x-modal-content. The iframe is live in the DOM from load, so the browser loads it and it autoplays.
Dynamic Rendering doesn’t help in the builder. The cs_tag_content filter in includes/classes/Services/Rivet.php returns early when it sees the children placeholder, so nothing is wrapped in the rvt-template. The offscreen-reset handler in the app bundle then finds no template and bails out.
Off Canvas and Dropdown share the same mechanism.
Suggested fix (by Claude)
In the preview, always defer mounting the children of an offscreen dropzone (Modal, Off Canvas, Dropdown) until its toggleable opens (tco-toggle, state true), and unmount them after the close transition. Do this regardless of the Dynamic Rendering setting, since the builder has no need to keep closed content alive. The preview already tracks which elements are _offscreen and already opens toggles on create and select. This needs no per-provider logic and covers every iframe embed (YouTube, Vimeo, Wistia, Loom and others), <video autoplay> / <audio autoplay>, the Video element’s Player type with autoplay, Lottie and Raw Content.
Let me know if you have any questions or need any further information.
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Builder preview loads and autoplays media inside closed Modal / Off Canvas / Dropdown content | 0 | 6.23 | 12-10-2026 |
| 2 | Feature request: keep toggleable areas open while working on them in the builder | 1 | 2 | 13-07-2026 |
| 3 | parametric bug | 0 | 42.08 | 03-08-2026 |
| 4 | Google Merchant Center Videos Stuck In Preview Processing | 0 | 5.15 | 13-10-2026 |
| 5 | Feature request: HTML enhancements for modals + new tooltip element | 0 | 7.8 | 13-10-2026 |
| 6 | Feature request: bottom sheets for mobile views (new toggleable type) | 0 | 9.54 | 12-10-2026 |
| 7 | Class specific to cornerstone editor | 0 | 33.18 | 18-09-2026 |
| 8 | Error with nested Page Builder Widget | 0 | 5.19 | 08-08-2026 |
| 9 | Previews not loading using Cornerstone - sudden issue | -2 | 3 | 28-06-2026 |
| 10 | Builds hanging in pre-build setup step for 2+ days across multiple repos | -2 | 3 | 25-05-2026 |