Skip to content
  • Mike Bostock's avatar
    Fix all touches ending on any touch ending. · ee23f941
    Mike Bostock authored
    The drag behavior registers a touchend listener for each started touch; however,
    a touchend event is dispatched to ALL listeners when any touch ends, not just
    for the corresponding starting touch. The drag behavior must therefore detect
    whenever the ending touch is the corresponding starting touch, and ignore other
    ending touches.
    
    This fixes the drag behavior during multitouch, as discussed in #1786.
    ee23f941