File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -478,7 +478,7 @@ proto.draw = function() {
478
478
( y / glplot . pixelRatio ) - ( size . t + ( 1 - domainY [ 1 ] ) * size . h )
479
479
) ;
480
480
481
- if ( result && fullLayout . hovermode ) {
481
+ if ( result && result . object . _trace . hoverinfo !== 'skip' && fullLayout . hovermode ) {
482
482
var nextSelection = result . object . _trace . handlePick ( result ) ;
483
483
484
484
if ( nextSelection && (
@@ -488,6 +488,7 @@ proto.draw = function() {
488
488
this . lastPickResult . dataCoord [ 1 ] !== nextSelection . dataCoord [ 1 ] )
489
489
) {
490
490
var selection = nextSelection ;
491
+
491
492
this . lastPickResult = {
492
493
traceUid : nextSelection . trace ? nextSelection . trace . uid : null ,
493
494
dataCoord : nextSelection . dataCoord . slice ( )
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ function render(scene) {
50
50
var selection = scene . glplot . selection ;
51
51
for ( var i = 0 ; i < keys . length ; ++ i ) {
52
52
trace = scene . traces [ keys [ i ] ] ;
53
- if ( trace . handlePick ( selection ) ) {
53
+ if ( trace . data . hoverinfo !== 'skip' && trace . handlePick ( selection ) ) {
54
54
lastPicked = trace ;
55
55
}
56
56
You can’t perform that action at this time.
0 commit comments