Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

Tooltips of moving objects #36

Closed
bartolsthoorn opened this issue Dec 19, 2013 · 1 comment
Closed

Tooltips of moving objects #36

bartolsthoorn opened this issue Dec 19, 2013 · 1 comment

Comments

@bartolsthoorn
Copy link

I'm adding d3-tip to a moving element. On mouseover the position is correct, but when the cursor is inside the element but the element is moving the tooltip stays at a fixed position. I'd like to see it move to stay at the correct position, until the mouseout/hide is triggered.

@caged
Copy link
Owner

caged commented Feb 2, 2014

Apologies for the delayed response, missed this issue. There are a couple of things you could do:

  • Manually update the tooltip location during the transition using d3's transition events transition.each 'end'.
  • Hide the tooltip before the animation starts and show it again when the transition ends.

I'm going to close this as I don't consider this this an actionable bug in the scope of d3-tip.

@caged caged closed this as completed Feb 2, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants