Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 46c5b8f

Browse files
committedOct 11, 2021
Updated gl3d scene to only fire plotly_unhover event when event data is present
1 parent 3ae7ef1 commit 46c5b8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/plots/gl3d/scene.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ proto.render = function() {
457457
this.oldEventData = eventData;
458458
} else {
459459
Fx.loneUnhover(svgContainer);
460-
gd.emit('plotly_unhover', this.oldEventData);
460+
if(this.oldEventData) gd.emit('plotly_unhover', this.oldEventData);
461461
this.oldEventData = undefined;
462462
}
463463

0 commit comments

Comments
 (0)