Skip to content
  • Mike Bostock's avatar
    Add d3.touch; fix #1786. · 38724915
    Mike Bostock authored
    The drag behavior no longer crashes when the element being dragged is removed
    from the DOM. In addition, the new d3.touch method extracts a single identified
    touch from the current touch event, making it more efficient during multitouch.
    The drag behavior now assigns touchmove and touchend listeners on the target
    element of the touchstart event, rather than the window.
    38724915