Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(drop) emitter not triggering / working on nested child items #102

Open
mirzinho opened this issue Jul 3, 2018 · 1 comment
Open

(drop) emitter not triggering / working on nested child items #102

mirzinho opened this issue Jul 3, 2018 · 1 comment

Comments

@mirzinho
Copy link

mirzinho commented Jul 3, 2018

I'm submitting a ... (check one with "x")

[ x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Sorry, we will not be able to answer every support request.  Please consider other venues for support requests

Current behavior

(drop) emitter doesn't trigger / work on nested child items
(drop)="onDropSuccess($event)"

Expected behavior

(drop) emitter should emit event when child item is dropped anywhere in the model

Reproduction of the problem

Using the simple example from your documentation.

<ngx-section class="catalogue-order-tree"> <ngx-dnd-container [model]="catalogueOrder" [droppableItemClass]="'catalogue-order-item'" (drop)="onDropSuccess($event)"> </ngx-dnd-container> </ngx-section>

@Hypercubed
Copy link
Contributor

You'll likely need to move to the ngx-dnd directives. Can you create a demo to reproduce this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants