akserg / ng2-dnd

Angular 2 Drag-and-Drop without dependencies
MIT License
838 stars 251 forks source link

Not Support Angular 7 #277

Open mrdoitall opened 6 years ago

mrdoitall commented 6 years ago

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").

JulianBerger commented 6 years ago

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

mrdoitall commented 6 years ago

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

fenta23 commented 5 years ago

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

destus90 commented 5 years ago

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

mrdoitall commented 5 years ago

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

this work perfect, thanks

PhiLhoSoft commented 5 years ago

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.

scm-htetaung commented 5 years ago

how to uninstall ng2-dnd

StephanKuehn commented 5 years ago

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

destus90 commented 5 years ago

@StephanKuehn The author has abandoned this project