Skip to content
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
Closed
Assignees
Labels

Comments

@morganfree
Copy link
Contributor

@morganfree 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
Copy link
Collaborator

@TorsteinHonsi 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
Copy link
Contributor

@pawelfus 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants