aem-react icon indicating copy to clipboard operation
aem-react copied to clipboard

cq:isContainer side effect

Open jdhrnndz opened this issue 8 years ago • 2 comments

Whenever a component has the attribute cq:isContainer set to true, the editing feature to drag and drop any components above or below the said component is disabled.

jdhrnndz avatar Mar 22 '17 03:03 jdhrnndz

What version of AEM are you using? Are you using Classic UI or Touch UI? Is there a javascript error in the console?

I have tried this on AEM 6.0 with ReactParsys and it seemed to work fine. I dragged a ReactParsys into a Accordion panel and then dragged sibling components around (TouchUI).

stemey avatar Mar 22 '17 07:03 stemey

I am using AEM 6.1 and the Touch UI. There are no javascript errors on the console. I am using the cq:isContainer on a component called CustomListComponent. When I drag the CustomListComponent into ReactParsys while the container attribute is set, I cannot place its siblings above or below it. The opposite happens if I remove the attribute.

jdhrnndz avatar Mar 22 '17 14:03 jdhrnndz