-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Description
Reproduction
https://stackblitz.com/edit/angular-9-material-drag-drop?file=src%2Fapp%2Fapp.component.html
Steps to reproduce:
- Add the cdkDrag item inside another tag whose parent is not the cdkList.
- Grab an element in the above list.
- Drag it to the second connected list
Expected Behavior
In angular material V8 it works correctly, doesn't matter if the cdkDrag item's direct parent is not the cdkList. Version 9 should behave the same way.
Actual Behavior
Error in /turbo_modules/@angular/cdk@9.2.3/bundles/cdk-drag-drop.umd.js (1676:29)
Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node.
Environment
- Angular: 9.1.4
- Angular Material: 9.2.2
- OS: MacOS Catalina
- Browsers: Chrome
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgent