New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stickyTracking / trackByArea doesn't work when the tooltip has already appeared #5553

Closed
morganfree opened this Issue Aug 1, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@morganfree
Contributor

morganfree commented Aug 1, 2016

Expected behaviour

With disabled stickyTracking and trackByArea options for an area chart, the tooltip fires when the point is hovered.

Actual behaviour

Expected behaviour occurs when the tooltip has not been fired yet. If the tooltip is shown and the cursor is moving around the area then it causes that the tooltip jumps around the points.

Live demo with steps to reproduce

http://jsfiddle.net/z50ypuos/
Move the cursor inside the area - the tooltip doesn't show up unless the point is close.
Move the cursor inside the area when the tooltip is already shown up - the tooltip fires even when the point is "not close". It seems that tracking area is much bigger in this case.

@TorsteinHonsi TorsteinHonsi added the Bug label Aug 2, 2016

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Aug 2, 2016

Collaborator

The bug is that the tooltip doesn't hide if we leave the graph on to the area. It only hides if we leave the graph to the other side.

Collaborator

TorsteinHonsi commented Aug 2, 2016

The bug is that the tooltip doesn't hide if we leave the graph on to the area. It only hides if we leave the graph to the other side.

pawelfus added a commit that referenced this issue Oct 19, 2016

@pawelfus pawelfus self-assigned this Oct 19, 2016

@pawelfus

This comment has been minimized.

Show comment
Hide comment
@pawelfus

pawelfus Oct 19, 2016

Contributor

@TorsteinHonsi I am open if you have an idea for a test. I can test onTrackerMouseOut method with a fake event, but it doesn't really make sense..

Contributor

pawelfus commented Oct 19, 2016

@TorsteinHonsi I am open if you have an idea for a test. I can test onTrackerMouseOut method with a fake event, but it doesn't really make sense..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment