Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Item disappearing when dnd-handle and dnd-disable-if are combined #214

Open
marceljuenemann opened this issue Feb 20, 2016 · 2 comments · Fixed by worldia/angular-drag-and-drop-lists#1 · May be fixed by #275
Open

Item disappearing when dnd-handle and dnd-disable-if are combined #214

marceljuenemann opened this issue Feb 20, 2016 · 2 comments · Fixed by worldia/angular-drag-and-drop-lists#1 · May be fixed by #275
Labels
Milestone

Comments

@marceljuenemann
Copy link
Owner

In the types demo:

  1. Move the last element to the middle list
  2. Drop the disabled element over the middle list
    The item is now completely gone for some reason.
@marceljuenemann marceljuenemann added this to the 2.0.0 milestone Feb 20, 2016
@marceljuenemann
Copy link
Owner Author

Ideally, the handle should not even start dragging if the parent dnd-dragging is disabled.

@eprevot
Copy link

eprevot commented Jun 6, 2016

When you add a dnd-nodrag or dnd-handle attribute on an element, it will always add a draggable = "true" attribute. When the dnd-draggable parent has disable-if = "true" then dnd-nodrag and dnd-handle should have the attribute draggable = "false"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.