Closed p2kmgcl closed 5 years ago
Could you give me more details @p2kmgcl? Are you needing a new emmiter like Drag.Events.INTERACT
, that will be emitted when have any interactions in sources elements before a START for example?
When an item is added as metal-drag-drop source, metal captures mousedown event, and for that reason links and buttons stop working.
In this case:
We needed to add a drag handler, because otherwise the item is not clickable anymore.
This behaviour occurs when useShim
option isn't not setted to false. When you don’t pass false
for this option, a DragShim is enabled for your Drag instance. basically this shim is used to attach events of Drag move and end like mousemove
and mouseup
to a shim element that can be placed above the document do hear these events. This functionality is important for dragging nodes over iframes. If false
, these events of Drag move and end will be attached in the document :slightly_smiling_face:
Once you set a draggable element with metal-drag-drop, there is no way to make it clickable without using a handler.