Hi,
I've a problem regarding a node's tooltip.
The tooltip should stick to the node, but after the tooltip is shown for the first time, it follows the mouse cursor.
And in this case, the little pointer which points (in my case) upwards, is inside the tooltip (in the top left corner).
This is the node definition:
{
id: "40",
height: 100,
width: 100,
shape: { type: "Basic" },
annotations: [
{
content: "Hover me!"
}
],
constraints: NodeConstraints.Default | NodeConstraints.Tooltip,
tooltip: {
content: "Tooltip keeps following outside of Childnode",
position: "BottomCenter",
relativeMode: "Object",
showTipPointer: true,
animation: {
open: { effect: "FadeZoomIn", delay: 1000 },
close: { effect: "FadeZoomOut", delay: 0 }
}
}
}
I made a sample so you can easily reproduce the issue:
https://codesandbox.io/s/distracted-surf-ofbqr
Thanks for your help!