code: function trapClickAndEnd(event) {
  
      var untrap;
  
      // trap the click in case we are part of an active
      // drag operation. This will effectively prevent
      // the ghost click that cannot be canceled otherwise.
      if (context.active) {
  
        untrap = installClickTrap(eventBus);
  
        // remove trap after minimal delay
        setTimeout(untrap, 400);
  
        // prevent default action (click)
        preventDefault(event);
      }
  
      end(event);
    }
docs: prevent ghost click that might occur after a finished drag and drop session