-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
When useHTML and stickOnContact set, tooltip freezes sometimes. #17685
Comments
Is there an estimation of when this might be looked at? It happens a lot more in our project compared to the example shown and it's confusing a lot of people here. |
Turning |
Is anyone aware of a workaround other than turning off HTML? Unfortunately we need this turned on as it is a custom tooltip |
Unfortunately, the proposed workaround of disabling "useHTML" option doesn't satisfy our goals, since we display an HTML table inside of the tooltip. We also cannot turn off "stickOnContact" option, because we use a link inside of the tooltip. Is there any other workaround we could use? |
This makes the whole use of rich tooltips on charts unusable and a workaround of using only text isn't really a workaround... |
Thank you for your patience! I created a draft PR but it requires some validation. Please check out the OP chart with the fix applied here: http://jsfiddle.net/highcharts/0ubatfdr/ |
@hryhorii-kharchenko-digis and @tsahilevi we now have something we believe will fix the issue. But to be absolutely sure, it would be great if you test it in your actual implementation. You can load https://github.highcharts.com/047bc85/highcharts.js . |
Okay, since I didn't hear anything I assume it works well and merge the PR. |
@TorsteinHonsi Your fix in question seems to work for our use-case. But I accidentally noticed that it breaks "outside" option, which was working before. When you hover on the tooltip it disappears completely. Before fix with "outside": true After fix with "outside": true |
@TorsteinHonsi |
@TorsteinHonsi Was the approved solution deployed to npm registry? The latest I see is 10.2.1, which was from a month ago - npmjs.com/package/highcharts |
@el-davo, it is not yet deployed, only available in master. You can test it using the link above. @hryhorii-kharchenko-digis Thanks for reporting back! I will check this issue with |
The remaining issue with Line 490 in 6699570
I tried setting By making the tooltip container visible we can see how it blocks mouse interaction: https://jsfiddle.net/highcharts/5xr3n28s/ |
Hi @TorsteinHonsi I notice this issue is closed but the fix is not deployed to npm registry. Is it possible for the fix to be deployed there?. We are using npm for dependency management so its not a trivial thing to use the file available on master |
@el-davo, it will be included in the next official release, which should take place soon. Thanks for your patience! |
Expected behaviour
Smooth tooltip refreshing.
Actual behaviour
When
useHTML
andstickOnContact
set to true, tooltip freezes sometimes while hovering over chart.Live demo with steps to reproduce
http://jsfiddle.net/BlackLabel/txavf7ec/
Product version
Highcharts JS v10.2.1 (2022-08-29)
Affected browser(s)
All
The text was updated successfully, but these errors were encountered: