reppners / ngx-drag-drop

Angular directives using the native HTML Drag And Drop API
https://reppners.github.io/ngx-drag-drop/
BSD 3-Clause "New" or "Revised" License
307 stars 120 forks source link

dndDropzone repeating dropped content #86

Closed brijeshpant83 closed 4 years ago

brijeshpant83 commented 4 years ago

Describe the bug I have created dynamic boxes (divs) and took dndDropzone tag on each, as I need to drop dynamic content on specific boxes. But when I dropped then same content showing inside all created boxes. However it should show where I am dropping.

"<div *ngFor="let eachCol of eachrowdata.col_data; let colind = index;" dndDropzone (dndDragover)="onDragover($event)" (dndDrop)="onDrop($event)">"

please help to solve this issue

brijeshpant83 commented 4 years ago

Sorry! It was my fault. Its working now when I used dynamic model. Thanks.