Closed jjackevans closed 1 year ago
Hi @jjackevans,
Thank you for reporting the problem in the example!
In my environment, when targetNodeId
was set to null
, the tooltip position was momentarily displayed as (0, 0) when the pointer was removed from the node, so it was modified to use watch
to calculate the position.
Similarly, the Tooltip example in Edge has been fixed.
https://dash14.github.io/v-network-graph/examples/event.html#tooltip
Thank you for your support!
Hi,
There's a small issue in the tooltip example. If a tooltip is created on a node and then a pan/zoom operation is performed, if the user hovers over the same node, it will position the tooltip relative to the old position (before the pan/zoom).
I have fixed this simply by setting the targetNodeId to null on the
node:pointerout
event.