Not draggable when use layout builder for a node

Created on 20 January 2020, almost 5 years ago
Updated 25 March 2023, almost 2 years ago

Steps to Reproduce

  1. Create a Layout Builder node and add a standard section (e.g., One column) and a block within that section.
  2. Create a Dynamic Layout with a row and column.
  3. Add a section of your new Dynamic Layout to the Layout Builder node.
  4. Attempt to drag the block from the standard section to a column in the Dynamic Layout section.

Expected Behavior

I am able to drag a block from elsewhere in my Layout Builder page into a column of my Dynamic Layout section.

Actual Behavior

None of the Dynamic Layout columns are available to drop into.

Proposed Resolution

The dynamic-layout-frontend template does not incorporate Layout Builder's default attributes for regions. These attributes include CSS classes and data- attributes that Layout Builder uses to make regions droppable. We simply need to add Dynamic Layouts' CSS classes to this existing attribute object.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇨🇳China lawxen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
Production build 0.71.5 2024