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

Click event on point doesn't work on IE if colorAxis is turned on #12828

Closed
mateuszkornecki opened this issue Jan 22, 2020 · 4 comments · Fixed by #16183
Closed

Click event on point doesn't work on IE if colorAxis is turned on #12828

mateuszkornecki opened this issue Jan 22, 2020 · 4 comments · Fixed by #16183
Assignees

Comments

@mateuszkornecki
Copy link
Contributor

Expected behaviour

Click event working on all browsers.

Actual behaviour

It is not working on IE.

Live demo with steps to reproduce

Click on the point, and look for the "Test" log in the console.
https://jsfiddle.net/BlackLabel/5fpozr4n/

Product version

Highcharts JS v8.0.0 (2019-12-10)

Related forum thread

https://www.highcharts.com/forum/viewtopic.php?f=14&t=43203

Affected browser(s)

IE

@pawelfus
Copy link
Contributor

@ppotaczek FYI

@ppotaczek
Copy link
Contributor

Internal note: Broken since 8.0.0

@KacperMadej
Copy link
Contributor

The offending commit is d722bdc

@KacperMadej
Copy link
Contributor

Code on the master branch works correctly - closing as fixed.
The fix should be published with the next version release.

Workaround: before the chart is created prevent moving to the top of the hovered element by adding the below code line for the series type that should be fixed - in this case map.
Highcharts.seriesTypes.map.prototype.pointClass.prototype.moveToTopOnHover = false;
Demo: https://jsfiddle.net/BlackLabel/5fpozr4n/13/

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

Successfully merging a pull request may close this issue.

5 participants