-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Description
here is my html struct:
<div class="flex-1 flex-top cdk-drag-list" cdkDropList (cdkDropListDropped)="drop($event)">
<div cdkDrag *ngFor="let item of content.child_contents, let i = index" class="flex cdk-drag=item">
<dz-menu-group style="position:absolute;right: 0;top: -10px"
*ngIf="global_service.modal=='edit' && global_service.pc_editor &&
global_service.device_type == 'pc'">
<dz-menu-group-item>
<span #drag_trigger cdkDragHandle>
<at-icon [type]="'move'" class="move"></at-icon>
</span>
</dz-menu-group-item>
<dz-menu-group-item>
<at-icon [type]="'x'" style="cursor: pointer;" (click)="deleteChildContent(i)"></at-icon>
</dz-menu-group-item>
</dz-menu-group>
</div>
</div>
DragHandle could not work
item still can be dragged and dropped by dom.
Metadata
Metadata
Assignees
Labels
No labels