Dragging.js Error on Drop item into Diagram

Thank you! Moving the calls to bpmnJS.get(“elementFactory”) and bpmnJS.get(“create”) from the onDrop handler of the receiving element (the diagram) to the onDragStart handler of the draggable element solved both the issue with the extra click needed, and the console error I was receiving from Dragging.js

I’m adding a codesandbox example of the simple non-angular implementation: youthful-grass-z2i9i - CodeSandbox