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

Dupes in multiple nested containers #107

Open
JerimSD opened this issue Mar 14, 2017 · 0 comments
Open

Dupes in multiple nested containers #107

JerimSD opened this issue Mar 14, 2017 · 0 comments

Comments

@JerimSD
Copy link

JerimSD commented Mar 14, 2017

Hi,
I took a look at the differents issues and solutions but I didn't find anything to fix mine.

Here is my problem. I'm developping a WYSIWYG application structured in rows, columns and components.
The rows can be reorganized between them, the columns can be reorganized inside their intial row or moved to another and the components can be reorganized inside their initial column or moved to another.

I've created multiple containers to control the differents areas where the items are allowed to be dropped. Ie, rows can only be dropped in the single row container (ctnRow) and columns can only be dropped in the column containers (ctnCol). There are as many column containers than rows.

My problem seems to come from these multiple column containers. In the first row for example, when I drag a colum from the left and drop it to the right, the following colums seem to be in a "broken" state (you can tell at their strange CSS look). If I then try to drag and drop one of these "broken" column, an empty column appears and if I drag and drop another column I get dupes errors.

Here's a Plunkr where I reproduced my application basis.

I tried a few things but I didn't find any solution.
I'm open to any suggestion.

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

No branches or pull requests

1 participant