You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
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.The text was updated successfully, but these errors were encountered: