How to control the content rendering within the tool-tip?
I have a Recharts BarChart with a custom tooltip whose position is manually controlled. When the user hovers over the tooltip, I freeze its position so it doesn’t move. However, when the tooltip is tall enough to overlap multiple bars, moving the mouse inside the tooltip causes the tooltip content to change, because Recharts detects hover on another bar underneath. Expected behavior: While hovering over the tooltip, both position and content should remain locked. Actual behavior: Position stays fixed, but tooltip content updates as the mouse moves vertically inside the tooltip. "use client"; i
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.