akserg / ng2-dnd

Angular 2 Drag-and-Drop without dependencies

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not Support Angular 7

mrdoitall opened this issue · comments

Hello, currently I am unable to upgrade angular 7 because of getting notified:

Package "ng2-dnd" has an incompatible peer dependency to "@angular/core" (requires "^4.0.0 || ^5.0.0" (extended), would install "7.0.1").
Package "ng2-dnd" has an incompatible peer dependency to "@angular/forms" (requires "^4.0.0 || ^5.0.0" (extended), would install "7.0.1").

Angular 7 has native drag and drop build in.. did you check it out?

Angular 7 has native drag and drop build in.. did you check it out?

But my project is using too much of this module, if the switch will take too much time to change the code, I think so many people:D

Try to install angular 7 manually and not with the cli, should work. at least it is a try.

ng update @angular/core --force
should help you

ng update @angular/core --force
should help you

this work perfect, thanks

Angular 7 has native drag and drop build in.. did you check it out?

If you mean the CDK's D'n'D, it seems to me to be a bit limited, although covering the most useful use cases, ie. reordering in lists and moving from list to list.
This library seems to offer a bit more; for example I need to drag an element (representing a file) to another (a folder, a trash bin) without changing the destination, but with interactive operations on drag over (opening sub-folders, scrolling list if on limits, etc.).
I can't say if ng2-dnd allows this, because the demos are broken, and the code samples have no live demo (Plunkr or similar for each would have been nice).
Too bad if it is broken and no longer maintained.

[EDIT]
1 - I saw at least a fork doing this upgrade (DragNDrop), but I couldn't make the demo to work, perhaps because the procedure to launch isn't clear to me.
2 - Finally, I think I can use the CDK for my usage, eg. making each folder a drop list of one element. Study in progress.

how to uninstall ng2-dnd

Any updates on this? Or is this project out of maintenance?

@StephanKuehn
The author has abandoned this project