Skip to content

Commit

Permalink
Fix mouseover tooltip getting stuck after region select popup in dotp…
Browse files Browse the repository at this point in the history
…lot (#4016)
  • Loading branch information
cmdcolin committed Oct 24, 2023
1 parent bb2ad7c commit 49072c7
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -313,6 +313,8 @@ const DotplotViewInternal = observer(function ({
if (mousedown && mouseup) {
model.zoomIn(mousedown, mouseup)
}
// below line is needed to prevent tooltip from sticking
setMouseOvered(false)
},
},
{
Expand All @@ -321,6 +323,8 @@ const DotplotViewInternal = observer(function ({
if (mousedown && mouseup) {
model.onDotplotView(mousedown, mouseup)
}
// below line is needed to prevent tooltip from sticking
setMouseOvered(false)
},
},
]}
Expand Down

0 comments on commit 49072c7

Please sign in to comment.