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

[bug report]: Trying to nest dragula items, however items are replicating randomly #878

Closed
alshdavid opened this issue Jul 25, 2018 · 2 comments

Comments

@alshdavid
Copy link

I am trying to copy items from a source bag which contains "base items" which, when dropped into the big spot, convert into their "final form".

One of these base items is a "group" item, which can contain other base items (aside from other groups).

When copying items into the nested bag, it seems to copy the entire bag into the nested bag.
It's especially bad if there are already items in the bag to begin with

Here's a code example.

https://stackblitz.com/edit/angular-zgcekn

image

@cormacrelf
Copy link
Contributor

In future, please fill out the issue template correctly.

This is actually a bug, so thanks for reporting.

@cormacrelf cormacrelf added the bug label Jul 25, 2018
@cormacrelf cormacrelf changed the title [usage question] Trying to nest dragula items, however items are replicating randomly [code repil provided] [bug report]: Trying to nest dragula items, however items are replicating randomly Jul 25, 2018
@cormacrelf
Copy link
Contributor

v2.0.2 out now.

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