Solution is
vis.clRepo = function() {
if (d3.event.defaultPrevented)
return;
/* handle the click event */
}
found in this answer
Question
I've next code:
vis.forceRep.circle.enter()
.append("g")
.attr("class", "cRepo")
.attr("transform", tr)
.on("mouseover.select", vis.meRepo)
.on("mouseout.select", vis.mlRepo)
.on("mousemove.mtt", vis.mtt)
.on("click.select", vis.clRepo)
.call(vis.forceRep.drag)
;
Into v3.1 we've got the following behavior:
Now into v3.2+:
How to fix it?
Solution
Solution is
vis.clRepo = function() {
if (d3.event.defaultPrevented)
return;
/* handle the click event */
}
found in this answer