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

Items bounce when dragging #53

Closed
jpintog opened this issue Jan 4, 2019 · 3 comments
Closed

Items bounce when dragging #53

jpintog opened this issue Jan 4, 2019 · 3 comments

Comments

@jpintog
Copy link

jpintog commented Jan 4, 2019

Hi there!
this is my issue:
I have a nested list of multiple items, and the items have some drop conditions, some of them have predefined children and the user can not drop more items inside (but is possible in the children), the thing is when I drag an item above the drop zone of other item (where the item I'm dragging can not be dropped) the items other items start bouncing.

I solved it duplicating the list and setting it without the drag&drop directives for the items with predefined children, but it would be better if setting the dndDropzone like [dndDropzone]="'none'" was enough

thanks!

@reppners
Copy link
Owner

reppners commented Jan 6, 2019

Can you provide a small reproduction stackblitz or have a repo that I can check out?

Here is a template for stackblitz: https://stackblitz.com/edit/ngx-drag-drop-issue-template

@jpintog
Copy link
Author

jpintog commented Mar 13, 2020

here is the video the all elements have a drop zone
https://www.dropbox.com/s/mq42p6ny85fjza3/Screen%20Recording%202020-03-13%20at%209.04.19%20AM.mov?dl=0

@ChristofFritz
Copy link
Collaborator

Items should no longer "bounce" when being dragged.

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

3 participants