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

Tooltip formatter doesn't correctly hide the tooltip in Highcharts 5.0.2 #5915

Closed
Rashaine opened this Issue Nov 1, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@Rashaine

Rashaine commented Nov 1, 2016

Expected behaviour

Returning false should disable(hide) the tooltip.

Actual behaviour

The tooltip is shown after it is created/initialized (via getLabel()) while the isHidden bool is still set to true so the hide code short-circuits and the empty tooltip remains visible in the upper left corner of the chart.

Live demo with steps to reproduce

http://jsfiddle.net/aepq5rf6/

Hover over the first data point (Jan) and note that the empty tooltip is incorrectly shown. After a valid tooltip is shown the code will function as desired.

Affected browser(s)

Chrome

@TorsteinHonsi

This comment has been minimized.

Show comment
Hide comment
@TorsteinHonsi

TorsteinHonsi Nov 1, 2016

Collaborator

It's a regression, worked in v4: http://jsfiddle.net/highcharts/aepq5rf6/1/

Collaborator

TorsteinHonsi commented Nov 1, 2016

It's a regression, worked in v4: http://jsfiddle.net/highcharts/aepq5rf6/1/

TorsteinHonsi added a commit that referenced this issue Nov 1, 2016

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