We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6ba88ca + bbaaa6f commit 13c78d6Copy full SHA for 13c78d6
src/components/legend/draw.js
@@ -379,7 +379,7 @@ function drawOne(gd, opts) {
379
}
380
},
381
clickFn: function(numClicks, e) {
382
- var clickedTrace = groups.selectAll('g.traces').filter(function() {
+ var clickedTrace = layer.selectAll('g.traces').filter(function() {
383
var bbox = this.getBoundingClientRect();
384
return (
385
e.clientX >= bbox.left && e.clientX <= bbox.right &&
0 commit comments