Enonic version: 6.6.2-SNAPSHOT
OS: Mac and linux
When trying to reorder parts in a layout regions by drag and drop in Component view, i get the following error in browser js console:
Element.ts:527 Uncaught Error: Child element to remove not found
Here’s the relevant code:
private unregisterChildElement(child: Element): number {
var childIndex = this.children.indexOf(child);
if (childIndex < 0) {
throw new Error("Child element to remove not found");
}
this.children.splice(childIndex, 1);
child.parentElement = null;
return childIndex;
}