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
bugfix/14143-14434-stickOnContact-useHTML-outside #15960
bugfix/14143-14434-stickOnContact-useHTML-outside #15960
Conversation
File size comparison
|
Visual test results - No difference found |
d69ef52
to
41dcf86
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I'm sorry, but it still an issue:
are not working together as expected for example, here: https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/demo/accessible-line adding |
This is still ongoing issue, can't use stickOnContact with outside configuration. |
Worked from 9.2.0 to 10.2.1, broken again since 10.3.0, which makes #17781 a likely suspect 🧐 @TorsteinHonsi |
Suspicion confirmed. Bisected to 2e5bdd7. |
@doganalper I'll have a look at this ASAP |
@doganalper , I found a fix, created a PR. Here's a drop-in workaround that you can use while waiting for the next release: Highcharts.Pointer.prototype.onContainerMouseLeave = function(e) {
const { charts, pick, Pointer } = Highcharts;
const chart = charts[pick(Pointer.hoverChartIndex, -1)];
e = this.normalize(e);
// #4886, MS Touch end fires mouseleave but with no related target
if (
chart &&
e.relatedTarget &&
!this.inClass(e.relatedTarget, 'highcharts-tooltip')
) {
chart.pointer.reset();
// Also reset the chart position, used in #149 fix
chart.pointer.chartPosition = void 0;
}
} |
@TorsteinHonsi Workaround works perfectly, thank you so much for helping! |
Fixed #14143, #14434, #13310, tooltip with
stickOnContact
anduseHTML
oroutside
enabled did not work properly.Replaces #14473.
Closes #14434.
Closes #13310.