1
0
Fork 0

fix(react): Ignore pointer events on tooltip text of Xray point component

This commit is contained in:
Jonathan Haas 2025-05-21 11:39:37 +02:00 committed by Joost De Cock
parent 96dd83fc10
commit 9469a9493c

View file

@ -60,7 +60,7 @@ export const PointXray = ({
: null
}
></circle>
<text x={point.x + 3} y={point.y} className="text-sm">
<text x={point.x + 3} y={point.y} className="text-sm tw:pointer-events-none">
<tspan>{pointName}</tspan>
<tspan x={point.x + 3} dy={5}>
{round(point.x)},{round(point.y)}