From d262281b9b1c3be6fe13c17d03f83d74c5c7162c Mon Sep 17 00:00:00 2001 From: Alex P Date: Wed, 27 Jun 2018 16:46:06 -0700 Subject: [PATCH] Prevent lingering crosshair when mouse leaves dygraph --- ui/src/shared/components/Dygraph.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/src/shared/components/Dygraph.tsx b/ui/src/shared/components/Dygraph.tsx index 5b5e98e209..c73b22c798 100644 --- a/ui/src/shared/components/Dygraph.tsx +++ b/ui/src/shared/components/Dygraph.tsx @@ -244,7 +244,11 @@ class Dygraph extends Component { const {staticLegend, cellID} = this.props return ( -
+
{this.dygraph && (
{this.areAnnotationsVisible && (