Skip to content
Snippets Groups Projects
Unverified Commit dec0d84a authored by Dalton's avatar Dalton Committed by GitHub
Browse files

fix chart tooltip isOpen boolean evaluation (#19052)

parent 008ea7bf
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ export default class ChartTooltip extends Component {
hovered?.element != null && document.body.contains(hovered.element);
const hasTargetEvent = hovered?.event != null;
const isOpen = (rows.length > 0 && hasTargetElement) || hasTargetEvent;
const isOpen = rows.length > 0 && (hasTargetElement || hasTargetEvent);
let target;
if (hasTargetElement) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment